mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove redundant check
This was already checked directly above.
This commit is contained in:
parent
3e33e1e86d
commit
68a907569c
1 changed files with 0 additions and 5 deletions
|
@ -3410,11 +3410,6 @@ static void php_pgsql_escape_internal(INTERNAL_FUNCTION_PARAMETERS, int escape_l
|
|||
RETURN_THROWS();
|
||||
}
|
||||
|
||||
if (pgsql == NULL) {
|
||||
php_error_docref(NULL, E_WARNING,"Cannot get pgsql link");
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
if (escape_literal) {
|
||||
tmp = PQescapeLiteral(pgsql, from, (size_t)from_len);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue