From 6961623b9905db7483c24da14563cb089ed308ee Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 31 Mar 2015 17:37:45 +0200 Subject: [PATCH] head --- lib/php/page.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.47.3