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 46a7909..2ec6c01 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') {