Browse Source

Fix the title

Mark Crane 11 năm trước cách đây
mục cha
commit
a50d5a35e5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      resources/footer.php

+ 1 - 1
resources/footer.php

@@ -73,7 +73,7 @@ require_once "resources/require.php";
 	$custom_head = '';
 	
 	if (isset($_SESSION["theme"]["title"]["text"])) {
-		if (strlen($_SESSION["theme"]["title"]["text"]) == 0) {
+		if (strlen($_SESSION["theme"]["title"]["text"]) > 0) {
 			$document_title = (($document["title"] != '') ? $document["title"]." - " : null).$_SESSION["theme"]["title"]["text"];
 		}
 		else {