From 1d0f6479da4cdbd14b747ead6cb934a769a9579d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 28 Oct 2010 02:27:09 +0000 Subject: - Patch #839556 by jrchamp, dmitrig01: remove pointless usage of array_key_exists(). --- 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 8ee7d5129..fa1f7d386 100644 --- a/includes/actions.inc +++ b/includes/actions.inc @@ -278,7 +278,7 @@ function actions_synchronize($delete_orphans = FALSE) { // user adds the action. if (!$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)) { + if (isset($actions_in_db[$callback])) { unset($actions_in_db[$callback]); } else { -- cgit v1.2.3