Fix sloppy use of nearly identical variable names
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 17 Jun 2013 18:34:16 +0000 (18:34 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 17 Jun 2013 18:34:16 +0000 (18:34 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14369 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/mime/Rfc822Header.class.php

index b9957822136387f0c704fee8d1fb54586b005f04..73d32ad8860c528e75031f2a4a5b722d64c9575c 100644 (file)
@@ -1046,8 +1046,7 @@ class Rfc822Header {
             }
             if ($recurs) {
                 return array($results, false);
             }
             if ($recurs) {
                 return array($results, false);
-//FIXME: I'm pretty sure the following should be $restuls and not $result - sloppy coding!
-            } elseif (count($result)) {
+            } elseif (count($results)) {
                 return true;
             } else {
                 return false;
                 return true;
             } else {
                 return false;