diff --git a/inc/page.php b/inc/page.php index 02b82f3..88fac6f 100644 --- a/inc/page.php +++ b/inc/page.php @@ -271,7 +271,11 @@ class Page { function print_title() { $title = $this->title; $name = $this->settings->name; - echo "$title - $name"; + if ($title === null) { + echo "$name"; + } else { + echo "$title - $name"; + } } function print_table_rows($row, $array, $print_headers = true) {