fix search page title

This commit is contained in:
2021-12-26 21:13:00 +08:00
parent f129929660
commit cbcc6a5374

View File

@@ -37,7 +37,7 @@ class default_controller {
} else $word = $books = $count = $categories = null;
$records = isset($_SESSION['user']) ? records::get_in_records_by_uid($_SESSION['user']['uid']) : null;
$records_count = isset($_SESSION['user']) ? records::count_in_records_by_uid($_SESSION['user']['uid']) : 0;
$this->template('馆存查询', 'search', ['books' => $books, 'page' => $page, 'count' => $count, 'categories' => $categories, 'records' => $records, 'records_count' => $records_count]);
$this->template('书籍检索', 'search', ['books' => $books, 'page' => $page, 'count' => $count, 'categories' => $categories, 'records' => $records, 'records_count' => $records_count]);
}
public function book($bid) {