From 2253d920fc27fc374ccf4753aa7a040f3cb57fed Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 17 Jul 2005 07:27:32 +0000 Subject: [PATCH] misunderstood use of second array_shift command git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9784 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/listcommands/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/listcommands/functions.php b/plugins/listcommands/functions.php index 46a79095..2ec6c01a 100644 --- a/plugins/listcommands/functions.php +++ b/plugins/listcommands/functions.php @@ -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') { -- 2.25.1