mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 09:44:38 +02:00
Fix issue processwire/processwire-issues#1286
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user