Skip to content

Commit

Permalink
Turn off error messages the debug mode off
Browse files Browse the repository at this point in the history
  • Loading branch information
VINADES.,JSC authored and hoaquynhtim99 committed Jun 6, 2018
1 parent 820d8b7 commit dcfc56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/vinades/nukeviet/Core/Error.php
Expand Up @@ -573,7 +573,7 @@ private function log_control()
}

}
if ((NV_DEBUG or (!$log_is_displayed and $this->error_set_logs)) and !empty($this->display_errors_list) and isset($this->display_errors_list[$this->errno])) {
if (NV_DEBUG and !empty($this->display_errors_list) and isset($this->display_errors_list[$this->errno])) {
$this->_display();
}
}
Expand Down

0 comments on commit dcfc56d

Please sign in to comment.