Fix logic I mixed up.
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 10 Mar 2003 16:18:29 +0000 (16:18 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 10 Mar 2003 16:18:29 +0000 (16:18 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4630 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/listcommands/setup.php

index e055bf89cf56bda0cd03f03ffae1edad7b77e765..04fdb20b999469ec17ba32f39809fb82b5b28f52 100644 (file)
@@ -42,7 +42,8 @@ function plugin_listcommands_menu() {
        /* I don't know this action... skip it */
        if ( ( function_exists('array_key_exists') &&       /* PHP >= 4.1 */
                !array_key_exists($cmd, $fieldsdescr) ) ||
-             !key_exists($cmd, $fieldsdescr)                /* PHP == 4.0.6 */
+             ( function_exists('key_exists') && 
+               !key_exists($cmd, $fieldsdescr) )            /* PHP == 4.0.6 */
         ) {
             continue;
         }