diff --git a/kernel/classes/ezpersistentobject.php b/kernel/classes/ezpersistentobject.php index 94f28c6252c..9422bf9a9e1 100644 --- a/kernel/classes/ezpersistentobject.php +++ b/kernel/classes/ezpersistentobject.php @@ -1339,7 +1339,7 @@ public function attribute( $attr, $noFunction = false ) if ( isset( $def["functions"][$attr] ) ) { - return $this->$def["functions"][$attr](); + return $def["functions"][$attr](); } eZDebug::writeError( "Attribute '$attr' does not exist", $def['class_name'] . '::attribute' );