Closed (fixed)
Project:
Location Views
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2007 at 03:00 UTC
Updated:
15 Feb 2007 at 13:48 UTC
After enabling location_views in Drupal 5.0, I get the following error:
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 /.../drupal-5.0/modules/location/contrib/location_views/location_views.module on line 710
(also lines 759, 793, 955)
The problem seems to be that php5 doesn't like (or is thinking about not liking) the lines that look like:
function location_views_handler_arg_user_city($op, &$query, $argtype, $arg = '') {
return location_views_handler_arg_city($op, &$query, $argtype, $arg, 'user_location');
} and
function location_views_handler_arg_user_province($op, &$query, $argtype, $arg = '') {
return location_views_handler_arg_province($op, &$query, $argtype, $arg, 'user_location');
}etc.
Comments
Comment #1
karens commentedFixed in latest commit.
Comment #2
(not verified) commented