Fix #28: array_shift() E_NOTICE in owncloud.log
authorChristian Weiske <cweiske@cweiske.de>
Fri, 18 Sep 2015 19:59:35 +0000 (21:59 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 18 Sep 2015 19:59:35 +0000 (21:59 +0200)
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])) {