Browse Source

fixed but telling non-mods they have an unread PM sometimes

pull/40/head
Savetheinternet 13 years ago
parent
commit
01a5846557
  1. 7
      inc/template.php

7
inc/template.php

@ -170,8 +170,11 @@
function Element($templateFile, array $options) { function Element($templateFile, array $options) {
global $config, $debug; global $config, $debug;
//var_dump($options);
//exit;
// Small little hack to add the PM system // Small little hack to add the PM system
if(function_exists('create_pm_header') && (isset($options['mod']) || isset($options['__mod']))) { if(function_exists('create_pm_header') && ((isset($options['mod']) && $options['mod']) || isset($options['__mod']))) {
$options['pm'] = create_pm_header(); $options['pm'] = create_pm_header();
} }
@ -192,4 +195,4 @@
} }
} }
?> ?>

Loading…
Cancel
Save