Forums

Products - English => NeoLegal => Topic started by: Aravot Aravot on February 15, 2007, 05:37:21 AM



Title: allow_call_time_pass_reference error
Post by: Aravot Aravot on February 15, 2007, 05:37:21 AM
Database Version: 4.1.14-Debian_5-log
PHP Version: 5.2.0
Web Server: Apache/1.3.37

Joomla 1.0.12
neolegal 1.0.3

In PHP 5 allow_call_time_pass_reference is OFF be default hence the following error message
Citation
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). 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. However, future versions may not support this any longer. in /home/mysite.com/joomla/components/com_neolegal/neolegal.php on line 50

To fix it in neolegal.php file line 50
find this
Code:
HTML_NeoLegal::showLegals( &$record );
change to
Code:
HTML_NeoLegal::showLegals( $record );