mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
MFB51: Fixed parameter parsing for setIndent() method.
This commit is contained in:
parent
bc2ed13110
commit
23005e96f1
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ PHP_FUNCTION(xmlwriter_set_indent)
|
||||||
zval *this = getThis();
|
zval *this = getThis();
|
||||||
|
|
||||||
if (this) {
|
if (this) {
|
||||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &pind, &indent) == FAILURE) {
|
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &indent) == FAILURE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
XMLWRITER_FROM_OBJECT(intern, this);
|
XMLWRITER_FROM_OBJECT(intern, this);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue