summaryrefslogtreecommitdiff
path: root/includes/actions.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-11-08 07:28:03 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-11-08 07:28:03 +0000
commit42d720992932ab8e436b5d6b93b01b620307185c (patch)
tree1ccbab124510656b4c3cf4edcd1d240da232866e /includes/actions.inc
parent3cbbd0577ee42bdbd2e71295de28053f0cf0b0f9 (diff)
downloadbrdo-42d720992932ab8e436b5d6b93b01b620307185c.tar.gz
brdo-42d720992932ab8e436b5d6b93b01b620307185c.tar.bz2
#329223 by chx: Fix notice in actions configuration tests.
Diffstat (limited to 'includes/actions.inc')
-rw-r--r--includes/actions.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/actions.inc b/includes/actions.inc
index f9da0bdb5..1d3e2c11f 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')