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 b995782..73d32ad 100644 (file)
@@ -1046,8 +1046,7 @@ class Rfc822Header {
             }
             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;