X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FTheme.php;h=03f1dfd9cd45c0de6a9533fcde4458c2008e0058;hb=8770a2089eebe04aeb5d4034edd070cf72c9d3f3;hp=c17c67c4d935b8a52bafd7b19c259de2e7b2aca0;hpb=90e23581f80478841d6e0916f4392fb0623121aa;p=friendica.git diff --git a/src/Core/Theme.php b/src/Core/Theme.php index c17c67c4d9..03f1dfd9cd 100644 --- a/src/Core/Theme.php +++ b/src/Core/Theme.php @@ -98,7 +98,7 @@ class Theme $comment_lines = explode("\n", $matches[0]); foreach ($comment_lines as $comment_line) { $comment_line = trim($comment_line, "\t\n\r */"); - if ($comment_line != "") { + if (strpos($comment_line, ':') !== false) { list($key, $value) = array_map("trim", explode(":", $comment_line, 2)); $key = strtolower($key); if ($key == "author") {