From ce1d5d0eb5035f8d038b647bbf940c6bef596999 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 25 Aug 2009 12:01:07 -0600 Subject: [PATCH] Fix an undefined variable warning --- framework/Mime/lib/Horde/Mime.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/Mime/lib/Horde/Mime.php b/framework/Mime/lib/Horde/Mime.php index 16644238f..8d663b311 100644 --- a/framework/Mime/lib/Horde/Mime.php +++ b/framework/Mime/lib/Horde/Mime.php @@ -490,10 +490,9 @@ class Horde_Mime $ret['val'] = trim(substr($data, 0, $pos)); $data = trim(substr($data, ++$pos)); + $params = $tmp = array(); if (strlen($data) > 0) { - $params = $tmp = array(); - /* This splits on a semi-colon, if there's no preceeding * backslash. */ preg_match_all($splitRegex, $data, $matches); -- 2.11.0