diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-28 02:27:09 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-28 02:27:09 +0000 |
commit | 1d0f6479da4cdbd14b747ead6cb934a769a9579d (patch) | |
tree | 3875e9403a28aac4477a3531379c85b6b10cd660 /includes/actions.inc | |
parent | 0344a78d9643d97e1aff8ab94fec551bc091bfbc (diff) | |
download | brdo-1d0f6479da4cdbd14b747ead6cb934a769a9579d.tar.gz brdo-1d0f6479da4cdbd14b747ead6cb934a769a9579d.tar.bz2 |
- Patch #839556 by jrchamp, dmitrig01: remove pointless usage of array_key_exists().
Diffstat (limited to 'includes/actions.inc')
-rw-r--r-- | includes/actions.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |