Discussion:
[Vtigercrm-repository] [Vtigercrm-developers] Patch for deprecated pass-by-reference
Franck TEJERA
2010-03-04 15:32:24 UTC
Permalink
I'm using vtigercrm 5.10 RC on a wamp system (apache 2.11, php 5.2.8, mysql 5.1.30).
If I don't write :
allow_call_time_pass_reference = On
on my php.ini
I got this kind of erros :

Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of saveInventoryProductDetails(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in C:\Program Files\wamp\www\vtigercrm\modules\SalesOrder\SalesOrder.php on line 134

Well... Is there any patch for deprecated pass-by-reference available somewhere ?
Because putting allow_call_time_pass_reference to off in php.ini solves this problem, but it's not nice coding !!!!
Loading...