Page 1 of 1

CSV hook in 5.3

Posted: 2014-06-12 07:24
by Philippe_de_Nice
Hello,
The hook code associated to the CSV button is not executed anymore since 5.3.
Dos anyone face this?
Thx,
Philippe

Re: CSV hook in 5.3

Posted: 2014-06-14 09:58
by a.gneady
We discovered a bug in the latest release that causes this behavior. We'll be fixing it in the next release. For now, please open the generated "datalist.php" file in a text editor, find this line:

Code: Select all

$mq = call_user_func_array($this->TableName . '_csv', $csvQuery, $mi, array(&$args));
and modify it to:

Code: Select all

$mq = call_user_func_array($this->TableName . '_csv', array($csvQuery, $mi, &$args));
Please accept my deep apologies for any inconvenience caused by this issue.