mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
ZTS fix
This commit is contained in:
parent
49228bd5e2
commit
019d70e67a
@ -2386,7 +2386,7 @@ PHP_FUNCTION(swftext_addString)
|
||||
if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &s) == FAILURE) {
|
||||
WRONG_PARAM_COUNT;
|
||||
}
|
||||
if (!getFont(getText(getThis() TSRMLS_CC))) {
|
||||
if (!getFont(getText(getThis() TSRMLS_CC) TSRMLS_CC)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "You must specify a font before writing text.");
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user