Hi Sven,

I installed the menu translation module today and it works quite nice, except that I see this annoying PHP warning message on top.

"Warning: ... Call-time pass-by-reference has been deprecated ..." for the function calls in line 108 and line 121.

Line 108: _menutranslation_render_rows(&$rows, $menu, 0);

Line 121: _menutranslation_render_rows(&$rows, $menu, $depth);

I searched the internet for a solution and I think I found one. All you have to do is to delete the ampersands "&" from the function calls in line 108 and 121 and put one ampersand into your function prototype in line 114. Well, I did this change to the source and the module is still working.

Line 114: function _menutranslation_render_rows(&$rows, $menu = NULL, $depth = 0) {

With best regards

Mike
hailstorm

Comments

sdecabooter’s picture

Assigned: Unassigned » sdecabooter
Status: Postponed (maintainer needs more info) » Fixed

Thanks for reporting.
I changed this now.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.