Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2013 at 12:42 UTC
Updated:
3 Sep 2018 at 17:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
catchHere's the patch. On my local this takes about 8-10ms unpatched (not sure why, but better to not spend the time at all).
Comment #2
joelpittetWhy not:)
Comment #3
klausithis function should return a boolean, so return FALSE; would be correct here.
Comment #4
gturnbull commentedHi Guys,
Here is an updated patch based on the comments provided by klausi.
Hope this helps.
Thanks,
Gordon
Comment #5
gturnbull commentedComment #6
joelpittetThanks @gturnbull, could you set the indent to 2 spaces to match the existing code?
Comment #7
tr commentedNew patch that fixes #6.
Comment #8
tr commentedComment #10
tr commentedCommitted #7. Thanks all.
Comment #11
joelpittetThanks for the update @TR
Comment #12
tr commented