mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Merge from trunk:
* Fixed parameter check introduced with the recent fix for bug #53492. * Improved the error message along the way.
This commit is contained in:
parent
9e48381b28
commit
f6cedd2ad5
1 changed files with 2 additions and 2 deletions
|
@ -4228,8 +4228,8 @@ PHP_FUNCTION(imagepstext)
|
|||
return;
|
||||
}
|
||||
|
||||
if (aa_steps != 4 || aa_steps != 16) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "AA steps must be 4 or 16");
|
||||
if (aa_steps != 4 && aa_steps != 16) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Antialias steps must be 4 or 16");
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue