mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Allow passing falsey values to if="" attribute of XML queries
This commit is contained in:
parent
7c8e76b727
commit
dd4d04f409
2 changed files with 9 additions and 9 deletions
|
|
@ -34,7 +34,7 @@ class VariableBase
|
|||
$params = array();
|
||||
|
||||
// Process the variable or default value.
|
||||
if ($this->ifvar && !isset($args[$this->ifvar]))
|
||||
if ($this->ifvar && empty($args[$this->ifvar]))
|
||||
{
|
||||
return [$where, $params];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue