Merge pull request #115 from Macil/miscfixes

Miscellaneous fixes
This commit is contained in:
Michael 2013-06-18 10:45:13 -07:00
commit 0ac9dd5f25
8 changed files with 31 additions and 26 deletions

View file

@ -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;