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');

Comments

crookednumber’s picture

Title: drupal_write_record() handed third (empty) parameter » drupal_write_record() handed third (undefined) parameter
andyf’s picture

Assigned: Unassigned » andyf
Status: Active » Needs review

As it was such a small thing I rolled into my patch on #608340: option to specify size of teaser.

hanoii’s picture

Status: Needs review » Fixed

Committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.