1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-22 11:23:45 +01:00

7.4 compatibility

This commit is contained in:
Lorenzo Yario 2024-12-22 14:51:07 -06:00 committed by GitHub
parent 58c2f095dc
commit 6606c182b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -196,7 +196,7 @@ function modLog(string $action, ?string $_board = null): void {
}
}
function create_pm_header(): mixed {
function create_pm_header() {
global $mod, $config;
if ($config['cache']['enabled'] && ($header = cache::get('pm_unread_' . $mod['id'])) != false) {