Update of /cvsroot/squirrelmail/squirrelmail/plugins/listcommands
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1117
Modified Files:
Tag: SM-1_4-STABLE
setup.php
Log Message:
php 5.1 array_shift() fix in listcommands plugin. array_shift() function
uses reference in argument. we can't use function call as array_shift argument
Index: setup.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/listcommands/setup.php,v
retrieving revision 1.24.2.7
retrieving revision 1.24.2.8
diff -u -w -r1.24.2.7 -r1.24.2.8
--- setup.php 28 Feb 2005 10:20:12 -0000 1.24.2.7
+++ setup.php 20 Jul 2005 09:07:01 -0000 1.24.2.8
@@ -51,7 +51,8 @@
}
/* proto = {mailto,href} */
- $proto = array_shift(array_keys($actions));
+ $aActionKeys = array_keys($actions);
+ $proto = array_shift($aActionKeys);
$act = array_shift($actions);
if ($proto == 'mailto') {
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
squirrelmail-cvs mailing list
List Address: squirrelmail-cvs-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
http://squirrelmail.org/cvs
|