Replacing deprecated HTML "center" element (second try).
[squirrelmail.git] / plugins / listcommands / functions.php
index 46a79095ccf48633c75b8637ea7c9488259aff03..a2170c0b143ee33afa0257f44d2b7098a2164ac7 100644 (file)
@@ -3,14 +3,13 @@
 /**
  * functions.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * Implementation of RFC 2369 for SquirrelMail.
  * When viewing a message from a mailinglist complying with this RFC,
  * this plugin displays a menu which gives the user a choice of mailinglist
  * commands such as (un)subscribe, help and list archives.
  *
+ * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage listcommands
@@ -39,7 +38,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') {