diff --git a/includes/actions.inc b/includes/actions.inc index f9da0bdb5a4..1d3e2c11f47 100644 --- a/includes/actions.inc +++ b/includes/actions.inc @@ -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')