Within its foreach() loop, load_row() access $data->$field, although $field may in some cases not exist on the row although it exists in the schema returned from drupal_get_schema($this->db_table). If should check for the property existence before accessing it to avoid php5.3 throwing warnings and just return a NULL instead.

CommentFileSizeAuthor
#1 missing_property_without_empty-1294452-1.patch571 bytesfgm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fgm’s picture

Status: Active » Needs review
FileSize
571 bytes

Suggested patch fixed this.

MustangGB’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)