# HG changeset patch # User Dan # Date 1214528363 14400 # Node ID 4f0f987717c6153577ebecf9195a34d3f3efad6d # Parent 53233b86e0546e7e070427f72dd8907e4207d865 Fixed E_STRICT under PHP 5 and 6 (reference operator in instanciation) diff -r 53233b86e054 -r 4f0f987717c6 includes/wikiformat.php --- a/includes/wikiformat.php Fri May 09 23:33:11 2008 -0400 +++ b/includes/wikiformat.php Thu Jun 26 20:59:23 2008 -0400 @@ -154,7 +154,7 @@ chdir($d); - $obj =& new $class($rules); + $obj = new $class($rules); return $obj; } @@ -514,7 +514,7 @@ } } - $this->parseObj[$rule] =& new $class($this); + $this->parseObj[$rule] = new $class($this); } @@ -536,7 +536,7 @@ } } - $this->renderObj[$rule] =& new $class($this); + $this->renderObj[$rule] = new $class($this); } function loadFormatObj($format) @@ -556,7 +556,7 @@ } } - $this->formatObj[$format] =& new $class($this); + $this->formatObj[$format] = new $class($this); } function addPath($type, $dir)