diff --git a/tableeditor.class.php b/tableeditor.class.php index a872831..a163dc3 100644 --- a/tableeditor.class.php +++ b/tableeditor.class.php @@ -162,7 +162,7 @@ class TableEditor if(is_callable(array($classname, 'tableEditorSetup'))) { //grab the table $this->classname=$classname; - call_user_func(array($this->classname, 'tableEditorSetup'), &$this); + call_user_func(array($this->classname, 'tableEditorSetup'), $this); } else { //grab the list fields $this->listfields=$listfields;