Fix a couple of page titles.

This commit is contained in:
Floorb 2022-03-26 23:04:18 -04:00
parent 565db2a1d4
commit b338781d67
2 changed files with 2 additions and 0 deletions

View file

@ -239,6 +239,7 @@ if (!isRequesterLikelyBot() && @$_SESSION['not_unique'] !== $paste_id) {
$paste->save();
}
$page_title = $paste->title;
$page_template = 'view';
$recommended_pastes = getUserRecommended($paste->user);

View file

@ -65,6 +65,7 @@ $is_current_user = ($current_user !== null) && ($profile_info->id == $current_us
updatePageViews();
$csrf_token = setupCsrfToken();
$page_title = 'Profile of ' . $profile_username;
$page_template = 'user_profile';
array_push($script_bundles, 'user_profile');
require_once('theme/' . $default_theme . '/common.php');