Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | missing_property_without_empty-1294452-1.patch | 571 bytes | fgm |
Comments
Comment #1
fgmSuggested patch fixed this.
Comment #2
MustangGB CreditAttribution: MustangGB commented