From: Michael M Slusarz Date: Tue, 25 Aug 2009 18:01:07 +0000 (-0600) Subject: Fix an undefined variable warning X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ce1d5d0eb5035f8d038b647bbf940c6bef596999;p=horde.git Fix an undefined variable warning --- 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);