mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
lost code on last commit
This commit is contained in:
@@ -1372,6 +1372,8 @@ class Smarty extends Smarty_Internal_TemplateBase
|
|||||||
public function __set($name, $value)
|
public function __set($name, $value)
|
||||||
{
|
{
|
||||||
if (isset($this->accessMap[ $name ])) {
|
if (isset($this->accessMap[ $name ])) {
|
||||||
|
$method = 'set' . $this->accessMap[ $name ];
|
||||||
|
$this->{$method}($value);
|
||||||
} elseif (in_array($name, $this->obsoleteProperties)) {
|
} elseif (in_array($name, $this->obsoleteProperties)) {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user