Fix #28: array_shift() E_NOTICE in owncloud.log
[grauphel.git] / lib / converter / html.php
index 29064e5..11cf105 100644 (file)
@@ -107,7 +107,7 @@ class Html extends Base
                 }
                 break;
             case XMLReader::END_ELEMENT:
-                array_shift($nesting, $reader->name);
+                array_shift($nesting);
                 if (isset(static::$tagMap[$reader->name])) {
                     $store .= '</' . static::$tagMap[$reader->name] . '>';
                 } else if (isset(static::$styleClassMap[$reader->name])) {