From 59898a04e959a8bda92440ef98f18f04306eb86f Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Fri, 13 Jul 2012 18:59:49 +0000 Subject: [PATCH] Zmiana wersji bota na 2.3. --- class/DOMHelper.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/class/DOMHelper.php b/class/DOMHelper.php index 7d1ec07..3d840b2 100644 --- a/class/DOMHelper.php +++ b/class/DOMHelper.php @@ -1,7 +1,7 @@ <?php class DOMHelper { static function ltrim($node) { - while(($node->firstChild instanceof DOMElement) && $node->firstChild->tagName == 'br' && $node->lastChild->getAttribute('auto')=='1') { + while(($node->firstChild instanceof DOMElement) && $node->firstChild->tagName == 'br' && $node->firstChild->getAttribute('auto')=='1') { $node->removeChild($node->firstChild); } -- Gitblit v1.9.1