diff --git a/etemplate/inc/class.etemplate_widget_transformer.inc.php b/etemplate/inc/class.etemplate_widget_transformer.inc.php index f44ee3978f..1a03b0c9df 100644 --- a/etemplate/inc/class.etemplate_widget_transformer.inc.php +++ b/etemplate/inc/class.etemplate_widget_transformer.inc.php @@ -83,7 +83,7 @@ abstract class etemplate_widget_transformer extends etemplate_widget $cell['id'] =& $cell['name']; // dto for 'name' instead of 'id' // run the transformation - foreach(static::$transformation as $filter => $data) + foreach($this->transformation as $filter => $data) { $this->action($filter, $data, $cell); } @@ -111,7 +111,7 @@ abstract class etemplate_widget_transformer extends etemplate_widget $unmodified = $attrs; // run the transformation - foreach(static::$transformation as $filter => $data) + foreach($this->transformation as $filter => $data) { $this->action($filter, $data, $attrs); }