Minor fixes (#124)

This commit is contained in:
Roman Kelesidis 2023-04-04 14:41:31 +07:00 committed by GitHub
parent c011d71b89
commit 3afd4c2112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ global $bb_cfg, $userdata, $template, $DBS, $lang;
if (!empty($template)) if (!empty($template))
{ {
$birthday_tp = ((string)date('d.m') === '04.04') ? ' | 🎉🍰💚' : null; $birthday_tp = ((string)bb_date(TIMENOW, 'd.m', false) === '04.04') ? ' | 🎉🍰💚' : null;
$template->assign_vars(array( $template->assign_vars(array(
'SIMPLE_FOOTER' => !empty($gen_simple_header), 'SIMPLE_FOOTER' => !empty($gen_simple_header),