From: Jimmy C. <ci...@us...> - 2004-10-28 05:30:32
|
Update of /cvsroot/squirrelmail/squirrelmail/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6662 Modified Files: arrays.php Log Message: Minor bug fix, just a misspelled variable $ar instead of $a Index: arrays.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/functions/arrays.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- arrays.php 9 Jun 2004 18:09:47 -0000 1.1 +++ arrays.php 28 Oct 2004 05:30:21 -0000 1.2 @@ -23,7 +23,7 @@ */ function sqm_array_swap_values(&$a,$v1,$v2) { $r = false; - if (in_array($v1,$ar) && in_array($v2,$a)) { + if (in_array($v1,$a) && in_array($v2,$a)) { $k1 = array_search($v1,$a); $k2 = array_search($v1,$a); $d = $a[$k1]; |