From 42d720992932ab8e436b5d6b93b01b620307185c Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 8 Nov 2008 07:28:03 +0000 Subject: #329223 by chx: Fix notice in actions configuration tests. --- includes/actions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/actions.inc') 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') -- cgit v1.2.3