CSV hook in 5.3

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
Philippe_de_Nice
Posts: 3
Joined: 2014-06-12 07:18

CSV hook in 5.3

Post by Philippe_de_Nice » 2014-06-12 07:24

Hello,
The hook code associated to the CSV button is not executed anymore since 5.3.
Dos anyone face this?
Thx,
Philippe

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: CSV hook in 5.3

Post by a.gneady » 2014-06-14 09:58

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.
:idea: AppGini plugins to add more power to your apps:

Post Reply