Closed (fixed)
Project:
Web Links
Version:
6.x-2.5
Component:
Contrib: Filter
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2011 at 11:20 UTC
Updated:
21 May 2012 at 20:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
jonathan1055 commentedThe problem was attempting
when there was no match in the preg_match_all() call at the top of the function.
Here is a patch for your consideration, where the return is just the $text if no match was found.
Comment #2
jonathan1055 commentedHi,
Any chance of someone reviewing this and then we can get it committed. Now that we have a good working latest release, it would be nice to avoid these e_notice warnings.
The patch above still applies ok, with a one-line offset. Attached is a view of the code changes - old on the left and new on the right.
Jonathan
Comment #3
nancydruCommitted. Thanks for the patch.