The E_ERROR to E_RECOVERABLE_ERROR should be readded with the
proper tests.
This commit is contained in:
Anatol Belski 2015-07-21 11:18:36 +02:00
parent 1767992e4e
commit 6065b29fe4
13 changed files with 41 additions and 70 deletions

View file

@ -191,12 +191,12 @@ PS_CREATE_SID_FUNC(user)
}
zval_ptr_dtor(&retval);
} else {
php_error_docref(NULL, E_RECOVERABLE_ERROR, "No session id returned by function");
php_error_docref(NULL, E_ERROR, "No session id returned by function");
return NULL;
}
if (!id) {
php_error_docref(NULL, E_RECOVERABLE_ERROR, "Session id must be a string");
php_error_docref(NULL, E_ERROR, "Session id must be a string");
return NULL;
}