gruffen commited on 2011-07-28 09:15:11
Showing 1 changed files, with 1 additions and 1 deletions.
... | ... |
@@ -297,7 +297,7 @@ function shd_get_active_tickets() |
297 | 297 |
if (empty($txt['shd_helpdesk'])) // provide a last-ditch fallback in the event we can't even find the file; SimpleDesk.{language}.php should be loaded by now (falling back to english if lang-specific doesn't exist) |
298 | 298 |
$txt['shd_helpdesk'] = 'Helpdesk'; |
299 | 299 |
|
300 |
- if (!$modSettings['helpdesk_active'] || $context['user']['is_guest'] || !empty($context['shd_maintenance_mode'])) |
|
300 |
+ if (!$modSettings['helpdesk_active'] || $context['user']['is_guest'] || !empty($context['shd_maintenance_mode']) || !empty($modSettings['shd_hidemenuitem'])) |
|
301 | 301 |
return $txt['shd_helpdesk']; |
302 | 302 |
|
303 | 303 |
// Have we already run on this page? If so we already have the answer. |
304 | 304 |