#329223 by chx: Fix notice in actions configuration tests.

merge-requests/26/head
Angie Byron 2008-11-08 07:28:03 +00:00
parent 3cbbd0577e
commit 42d7209929
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ function actions_save($function, $type, $params, $desc, $aid = NULL) {
// aid is the callback for singleton actions so we need to keep a
// separate table for numeric aids.
if (!$aid) {
$aid = db_insert('actions_aid')->execute();
$aid = db_insert('actions_aid')->useDefaults(array('aid'))->execute();
}
db_merge('actions')