Commit graph

2 commits

Author SHA1 Message Date
Derick A
02b5d008c5 xml: Move condition check of var before creating XmlSelect object
The `$selected` var could be null and in this case, return the default,
an empty string. The null check was after creating the XmlSelect
object which seemed out of place as after setting the variable to
the default, it's not used anywhere below.

Actually, the check should happen above and set it to it's default if
need be before creating the object below.

Change-Id: I6b69a7780c9f4a9ae283db8fa90b9cee76954d00
2020-04-27 00:37:31 +01:00
Aaron Schulz
97fa6ff265 Move Xml* classes under /xml
Change-Id: I012648c9a860611a7cd809119073803e82429fc3
2020-03-19 19:23:47 -07:00
Renamed from includes/Xml.php (Browse further)