Notices for users without 'administer nodes' permission:

New node:
notice: Undefined property: stdClass::$date in /modules/node/node.pages.inc on line 170.
notice: Undefined property: stdClass::$created in /modules/node/node.pages.inc on line 191.

Save new node:
notice: Undefined property: stdClass::$log in /modules/node/node.module on line 814.

Edit node:
notice: Undefined property: stdClass::$date in /modules/node/node.pages.inc on line 170.
notice: Undefined property: stdClass::$date in /modules/node/node.pages.inc on line 173.

Comments

chx’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new652 bytes

date was recently fixed.

webernet’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new1.56 KB

The $date and $created notices have already been fixed, the above patch fixes the $log notice.

Attached patch also fixes a $revision notice on node preview.

webernet’s picture

StatusFileSize
new1.54 KB

Smaller, simpler.

chx’s picture

Status: Needs review » Reviewed & tested by the community

yah that's how notices go down.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)