diff --git a/action/add_comment.php b/action/add_comment.php index 53f2362..96258f1 100644 --- a/action/add_comment.php +++ b/action/add_comment.php @@ -78,7 +78,6 @@ if (!$poll) { $comments = $pollService->allCommentsByPollId($poll_id); } -error_reporting(E_ALL & ~E_NOTICE); $smarty->error_reporting = E_ALL & ~E_NOTICE; $smarty->assign('comments', $comments); $comments_html = $smarty->fetch('part/comments_list.tpl'); diff --git a/action/send_edit_link_by_email_action.php b/action/send_edit_link_by_email_action.php index f7f214b..d79b80e 100644 --- a/action/send_edit_link_by_email_action.php +++ b/action/send_edit_link_by_email_action.php @@ -88,8 +88,6 @@ if (is_null($message)) { $result = true; } - -error_reporting(E_ALL & ~E_NOTICE); $smarty->error_reporting = E_ALL & ~E_NOTICE; $response = array('result' => $result, 'message' => $message);