mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Reverted ad4533fdba
The E_ERROR to E_RECOVERABLE_ERROR should be readded with the proper tests.
This commit is contained in:
parent
1767992e4e
commit
6065b29fe4
13 changed files with 41 additions and 70 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue