projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed91f1d
)
Built-in Dashboard doesn't work after $hide_inaccessible_menu_items in config.php...
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 21 May 2017 16:19:30 +0000
(18:19 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 21 May 2017 16:19:30 +0000
(18:19 +0200)
includes/dashboard.inc
patch
|
blob
|
history
diff --git
a/includes/dashboard.inc
b/includes/dashboard.inc
index 493a70730078256be109412b7f56bf1f946142ae..21b1377f96acaabd785a4d239945824f3ea3b1b7 100644
(file)
--- a/
includes/dashboard.inc
+++ b/
includes/dashboard.inc
@@
-15,7
+15,7
@@
function dashboard($sel_app)
$selected_app = $sel_app;
- if (!$_SESSION["wa_current_user"]->check_application_access($selected_app))
+ if (
is_object($sel_app) &&
!$_SESSION["wa_current_user"]->check_application_access($selected_app))
return;
// first have a look through the directory,
// and remove old temporary pdfs and pngs