#329223 by chx: Fix notice in actions configuration tests.
parent
3cbbd0577e
commit
42d7209929
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue