1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 09:44:38 +02:00
This commit is contained in:
Ryan Cramer
2020-12-04 11:28:45 -05:00
parent 2e591cf5e2
commit 73fcaff769

View File

@@ -1838,7 +1838,7 @@ class WireHttp extends Wire {
* @param $errcontext
*
*/
public function _errorHandler($errno, $errstr, $errfile, $errline, $errcontext) {
public function _errorHandler($errno, $errstr, $errfile = '', $errline = 0, $errcontext = array()) {
if($errfile || $errline || $errcontext) {} // ignore
$this->error[] = "$errno: $errstr";
}