mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 20:31:41 +02:00
Shortcode parser: fixed number of errors, e107 method getScObject renamed to getScBatch, added new example of sc handler usage (news), work in progress
This commit is contained in:
@@ -2140,7 +2140,9 @@ class e_vars
|
||||
*/
|
||||
public function __set($key, $value)
|
||||
{
|
||||
$this->vars[$key] = $value;
|
||||
// Unset workaround - PHP < 5.1.0
|
||||
if(null === $value) unset($this->vars[$key]);
|
||||
else $this->vars[$key] = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user