From fd9881f01bc2085238b644ef468a6a5df80ab834 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 17 Jun 2013 18:34:16 +0000 Subject: [PATCH] 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 --- class/mime/Rfc822Header.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.25.1