Closed (fixed)
Project:
RSS Remote Enclosure
Version:
5.x-0.3-beta
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Aug 2007 at 16:23 UTC
Updated:
28 Sep 2007 at 00:33 UTC
I just downloaded and installed this module and upon installation, I get the error :
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of preg_match(). 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 /public_html/web/sites/all/modules/encl_remote/encl_remote.module on line 296
which that line in the module file is as follows:
preg_match('/\.(\w*)$/', $url, &$m);
which is part of the function _encl_remote_mime_type($url, $default)
I removed the "&" character from the line and reinstalled. I did not get the error again.
Comments
Comment #1
ewlloyd commentedThanks for that. It looks like your patch should run just fine. I'll have it fixed in the next release.
Comment #2
ewlloyd commentedThis has been fixed in 0.4.
Comment #3
ewlloyd commented