Commit 42d72099 authored by webchick's avatar webchick
Browse files

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

parent 3cbbd057
...@@ -323,7 +323,7 @@ function actions_save($function, $type, $params, $desc, $aid = NULL) { ...@@ -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 // aid is the callback for singleton actions so we need to keep a
// separate table for numeric aids. // separate table for numeric aids.
if (!$aid) { if (!$aid) {
$aid = db_insert('actions_aid')->execute(); $aid = db_insert('actions_aid')->useDefaults(array('aid'))->execute();
} }
db_merge('actions') db_merge('actions')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment