This commit is contained in:
Krivchikov Dmitry 2015-09-28 14:00:25 +03:00
parent c04c77928d
commit d6a4260d50
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ if (App::getParam('user')) {
if ((int) App::getParam('category')) {
$header = 'Список точек в категории "' . $categories[(int) App::getParam('category')]->name . '"';
}
if ($user->id) {
if ($user && $user->id) {
$header = 'Список точек пользователя <a href="/user/'.$user->id.'">"' . $user->nick . '"</a>';
}
?>