drupal_write_record() handed third (undefined) parameter
CrookedNumber - October 20, 2009 - 21:10
| Project: | Excerpt |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I was getting a bunch of mysterious database errors -- telling me that the format column was a primary key (!)
Upon closer inspection I saw line 57 of excerpt.module:
drupal_write_record('excerpt', $excerpt, $primary_keys);But $primary_keys is never defined anywhere. I believe that line should read:
drupal_write_record('excerpt', $excerpt, 'vid');
#1