fix 500 error

parent 55912306
......@@ -100,6 +100,8 @@ class Bid extends \common\components\ActiveRecordModel
}
public function send()
{
try
{
$email = Settings::getValue('bids-support-email');
......@@ -115,6 +117,10 @@ class Bid extends \common\components\ActiveRecordModel
$subject = "Заявка с сайта TaskOn";
mail($email, $subject, $message, $headers);
@mail($email, $subject, $message, $headers);
}
catch (Exception $e)
{
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment