Closed (fixed)
Project:
Nodequeue
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2010 at 13:37 UTC
Updated:
10 Sep 2012 at 08:39 UTC
Jump to comment: Most recent file
Comments
Comment #1
jamespharaoh commentedComment #2
ezra-g commentedI made a minor change to use empty() and to make the conditional comply with http://drupal.org/coding-standards . Committed. Thanks! Also, please remember to set your patch issues to "needs review" -- I missed this one :).
Comment #4
kenorb commentedEmpty() doesn't work perfectly in some cases in Drupal 6.x.
See: #1777622: Simpletest: Fatal error: Call to undefined method stdClass::setMultiValue() in nodequeue.module on line 422
This could be a better approach:
http://php.net/empty