It is possible that there may have been records in the {metatag} table from really early releases of the codebase, so add an update script to remove anything that matches 'a:0:{}'.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | metatag-n1862570-3.patch | 622 bytes | damienmckenna |
| #1 | metatag-n1862570.patch | 714 bytes | damienmckenna |
Comments
Comment #1
damienmckennaThis patches NULL, '' and 'a:0:{}' values.
Comment #2
damienmckennaCommitted.
Comment #3
damienmckennaA small follow-up - the SQL query handling system in Drupal removes the "{}" characters so it needs to be inserted via a query argument.
Comment #4
damienmckennaCommitted, so now it will actually remove records with an empty array.