Minor bug fix, just a misspelled variable $ar instead of $a
authorcigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Oct 2004 05:30:21 +0000 (05:30 +0000)
committercigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Oct 2004 05:30:21 +0000 (05:30 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8263 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/arrays.php

index 8cad523e68523e44d97c8efb19f27016abfb9e5f..9d430d20b73d586ae6993735d5ef59fa9936e4fc 100644 (file)
@@ -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];