Bruno17/bloX-Xedit — Issue #3: Bugfix in blox.class.inc.php
Author: Sammyboy
Created: 2011-12-20 18:46:26+00:00
State: open

Using the command ``[!bloX? &tablename=`my_table`!]`` I got this reference error message:
**Fatal error: Cannot pass parameter 2 by reference in /opt/lampp/htdocs/modx-evo/assets/snippets/blox/inc/blox.class.inc.php on line 1156**

Changing the line 1156 to
`$where = $this->filter2sqlwhere($filter,$TVarray=array(),$this->bloxconfig['resourceclass']);`
fixes the bug.