From: Nicolas Boisselier Date: Tue, 31 Mar 2015 15:37:45 +0000 (+0200) Subject: head X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=6961623b9905db7483c24da14563cb089ed308ee;p=nb.git head --- diff --git a/lib/php/page.php b/lib/php/page.php index 7be44dd1..56e564be 100644 --- a/lib/php/page.php +++ b/lib/php/page.php @@ -241,8 +241,6 @@ class Page { if (preg_match('/ml$/',$this->content_type)) { - foreach ($this->head as $h) $head .= $h.PHP_EOL; - $head .= ''.PHP_EOL; #$head .= ''.PHP_EOL; return $head; @@ -272,6 +270,8 @@ class Page { } + foreach ($this->to_array($this->head) as $h) $head .= $h.PHP_EOL; + $head .= ''.PHP_EOL; }