From: pdontthink Date: Mon, 17 Jun 2013 18:34:16 +0000 (+0000) Subject: Fix sloppy use of nearly identical variable names X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fd9881f01bc2085238b644ef468a6a5df80ab834;p=squirrelmail.git Fix sloppy use of nearly identical variable names git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14369 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/class/mime/Rfc822Header.class.php b/class/mime/Rfc822Header.class.php index b9957822..73d32ad8 100644 --- a/class/mime/Rfc822Header.class.php +++ b/class/mime/Rfc822Header.class.php @@ -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;