From 2756d22aae74e0364a2ae40a378d843ce82a3e61 Mon Sep 17 00:00:00 2001 From: cigamit Date: Thu, 28 Oct 2004 05:30:21 +0000 Subject: [PATCH] Minor bug fix, just a misspelled variable $ar instead of $a git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8263 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/arrays.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/arrays.php b/functions/arrays.php index 8cad523e..9d430d20 100644 --- a/functions/arrays.php +++ b/functions/arrays.php @@ -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]; -- 2.25.1