mirror of
https://github.com/php/php-src.git
synced 2024-11-30 21:35:36 +08:00
Simplified condition
This commit is contained in:
parent
ddac2852dc
commit
37f7c71f3e
@ -1030,7 +1030,7 @@ static int preg_get_backref(char **str, int *backref)
|
||||
}
|
||||
|
||||
if (in_brace) {
|
||||
if (*walk == 0 || *walk != '}')
|
||||
if (*walk != '}')
|
||||
return 0;
|
||||
else
|
||||
walk++;
|
||||
|
Loading…
Reference in New Issue
Block a user