misunderstood use of second array_shift command
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 17 Jul 2005 07:27:32 +0000 (07:27 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 17 Jul 2005 07:27:32 +0000 (07:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9784 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/listcommands/functions.php

index 46a79095ccf48633c75b8637ea7c9488259aff03..2ec6c01a09a8a21354123be9d868302b95a03c75 100644 (file)
@@ -39,7 +39,7 @@ function plugin_listcommands_menu_do() {
         /* proto = {mailto,href} */
         $aActions = array_keys($actions);
         $proto = array_shift($aActions);
-        $act   = array_shift($aActions);
+        $act   = array_shift($actions);
 
         if ($proto == 'mailto') {