Closed (fixed)
Project:
Drupal core
Version:
5.7
Component:
node system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 May 2008 at 20:02 UTC
Updated:
25 Jan 2010 at 01:42 UTC
if node_load is somehow called by this way:
node_load(NULL);
then it generates warning because there is no checking of input parameters there, this is a good practice to check input parameters in such complex systems.
I've attached my simple patch.
| Comment | File | Size | Author |
|---|---|---|---|
| node-emptyparam.patch | 357 bytes | dortik |
Comments
Comment #1
marcingy commented