aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_protocols/rest_encoder.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/ws_protocols/rest_encoder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_protocols/rest_encoder.php b/include/ws_protocols/rest_encoder.php
index c02d18222..da493c14e 100644
--- a/include/ws_protocols/rest_encoder.php
+++ b/include/ws_protocols/rest_encoder.php
@@ -66,7 +66,7 @@ class PwgXmlWriter
}
$this->_output( '<'.$name );
$this->_lastTagOpen = true;
- array_push( $this->_elementStack, $name);
+ $this->_elementStack[] = $name;
}
function end_element($x)