diff options
author | plegall <plg@piwigo.org> | 2012-06-27 07:01:01 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2012-06-27 07:01:01 +0000 |
commit | 457a627c2943a20090082962e14aff7a3f78fe56 (patch) | |
tree | f8e111f52f47e196e02fbdee1e712608e8046387 /include | |
parent | e1794bbb6682ca37cf52235fd0b2d3c8d62f7547 (diff) |
tabulation is not the expected indentation
git-svn-id: http://piwigo.org/svn/branches/2.4@16083 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r-- | include/ws_protocols/rest_encoder.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/ws_protocols/rest_encoder.php b/include/ws_protocols/rest_encoder.php index 041540a3e..7b864e7ca 100644 --- a/include/ws_protocols/rest_encoder.php +++ b/include/ws_protocols/rest_encoder.php @@ -59,11 +59,11 @@ class PwgXmlWriter } $this->_indentLevel++; $this->_indent(); - $diff = ord($name[0])-ord('0'); - if ($diff>=0 && $diff<=9) - { - $name='_'.$name; - } + $diff = ord($name[0])-ord('0'); + if ($diff>=0 && $diff<=9) + { + $name='_'.$name; + } $this->_output( '<'.$name ); $this->_lastTagOpen = true; array_push( $this->_elementStack, $name); |