diff --git a/lib/zin/core/set.class.php b/lib/zin/core/set.class.php index 05d98cdff3..476ef18bff 100644 --- a/lib/zin/core/set.class.php +++ b/lib/zin/core/set.class.php @@ -40,6 +40,8 @@ class set extends setting implements iDirective public static function __callStatic($prop, $args): set { $set = new set(); + if(empty($args)) return $set->set($prop, true); + if($prop === 'class' || strtolower($prop) === 'classname') { global $config;