Skip to content
Snippets Groups Projects
Commit 42d72099 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent 3cbbd057
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment