Commit 81ebcd49 authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

changed so sideblocks are displayed when MENUITEM is not defined (for user/view.php)

parent 3d74edda
...@@ -366,7 +366,7 @@ EOF; ...@@ -366,7 +366,7 @@ EOF;
} }
// ---------- sideblock stuff ---------- // ---------- sideblock stuff ----------
if (!defined('INSTALLER') && (defined('MENUITEM') && substr(MENUITEM, 0, 5) != 'admin')) { if (!defined('INSTALLER') && (!defined('MENUITEM') || substr(MENUITEM, 0, 5) != 'admin')) {
if (get_config('installed')) { if (get_config('installed')) {
$data = site_menu(); $data = site_menu();
if (!empty($data)) { if (!empty($data)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment