1
0
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:
secretr
2010-04-24 11:39:14 +00:00
parent 9fb7e748bb
commit 4e8be9a7b8
6 changed files with 150 additions and 54 deletions

View File

@@ -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;
}
/**