From: Michael M Slusarz Date: Wed, 17 Jun 2009 06:35:02 +0000 (-0600) Subject: null is the default argument here. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5fcd2a0480fc95d48609702041035a8913040acd;p=horde.git null is the default argument here. --- diff --git a/imp/attachment.php b/imp/attachment.php index 9eac23c1f..753f1e1bb 100644 --- a/imp/attachment.php +++ b/imp/attachment.php @@ -29,9 +29,9 @@ if (!$conf['compose']['link_attachments']) { } // Gather required form variables. -$mail_user = Horde_Util::getFormData('u', null); -$time_stamp = Horde_Util::getFormData('t', null); -$file_name = Horde_Util::getFormData('f', null); +$mail_user = Horde_Util::getFormData('u'); +$time_stamp = Horde_Util::getFormData('t'); +$file_name = Horde_Util::getFormData('f'); if (is_null($mail_user) || is_null($time_stamp) || is_null($file_name)) { Horde::fatal(_("The attachment was not found."), $self_url, __LINE__); }