Skip to main content
7 events
when toggle format what by license comment
Mar 31, 2021 at 22:22 comment added avpaderno count($node->nid) > 0 where $node->nid is an integer doesn't make any sense, since count() counts the number of items in an array. It's would causes a PHP Warning: count(): Parameter must be an array or an object that implements Countable.
Jan 31, 2015 at 17:29 review Low quality posts
Jan 31, 2015 at 21:49
Jan 31, 2015 at 17:25 comment added cptstarling It first checks if the node is defined before executing.
Jan 31, 2015 at 17:25 history edited cptstarling CC BY-SA 3.0
deleted 86 characters in body
Jan 16, 2015 at 9:06 comment added Mołot Could you please add some "whys" and "hows" to your answer?Code-only answer might work, but it hardly helps to understand one's mistakes.
Jan 16, 2015 at 9:02 review Low quality posts
Jan 16, 2015 at 9:15
Jan 16, 2015 at 8:43 history answered cptstarling CC BY-SA 3.0