forked from leftypol/leftypol
commit
0ac9dd5f25
8 changed files with 31 additions and 26 deletions
|
@ -128,7 +128,7 @@ if (isset($_COOKIE[$config['cookies']['mod']])) {
|
|||
function create_pm_header() {
|
||||
global $mod, $config;
|
||||
|
||||
if ($config['cache']['enabled'] && ($header = cache::get('pm_unread_' . $mod['id'])) !== false) {
|
||||
if ($config['cache']['enabled'] && ($header = cache::get('pm_unread_' . $mod['id'])) != false) {
|
||||
if ($header === true)
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue