Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2014 at 18:54 UTC
Updated:
19 Apr 2022 at 17:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
solotandem commentedAttached patch implements proposed resolution.
I question whether the condition should be simply:
if (method_exists($query, 'getArguments'))given the comment
Only the sql default class has a method getArgumentsthat precedes this block.
Comment #2
chris matthews commentedThe 4 year old patch to admin.inc does not apply to the latest views 7.x-3.x-dev and if still relevant needs to be rerolled.
Comment #3
andrew answer commentedPatch rerolled.
Comment #4
anrikun commentedThis is a bug for me.
Patch works.
Comment #5
renatog commentedI agree to use instanceof instead of get_class since that get_class will compares the name of the class. I think instanceof is better and is solving the issue
Good catch! +1 to it as RTBC
Comment #7
damienmckennaCommitted. Thank you all.