I am receiving this php error as of v. 2.11:
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 webfm_rename(). 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 /var/www/html/sites/all/modules/webfm/webfm_file.inc on line 207

line 207 contains

return(webfm_rename($source, $dest, $uid, &$err_arr));

I believe the error comes from passing a reference in the return statement.
I have provided a patch to fix this error.

CommentFileSizeAuthor
webfm-call-by-ref.patch619 byteswestwesterson

Comments

robmilne’s picture

Status: Active » Fixed

Yikes - I'm made this error before (too much time working in C#). Both of my test sites are too tolerant of this error and it doesn't appear. Fix is committed to DRUPAL-5 head.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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