diff --git includes/actions.inc includes/actions.inc index 3b990a3..39ee38f 100644 --- includes/actions.inc +++ includes/actions.inc @@ -320,7 +320,7 @@ function actions_synchronize($actions_in_code = array(), $delete_orphans = FALSE foreach ($actions_in_code as $callback => $array) { // Ignore configurable actions since their instances get put in // when the user adds the action. - if (!$array['configurable']) { + if (empty($array['configurable'])) { // If we already have an action ID for this action, no need to assign aid. if (array_key_exists($callback, $actions_in_db)) { unset($actions_in_db[$callback]);