summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/pages/summary.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/statistics/pages/summary.inc.php')
-rw-r--r--modules-available/statistics/pages/summary.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules-available/statistics/pages/summary.inc.php b/modules-available/statistics/pages/summary.inc.php
index 1fa3adf2..cf3e745d 100644
--- a/modules-available/statistics/pages/summary.inc.php
+++ b/modules-available/statistics/pages/summary.inc.php
@@ -8,6 +8,9 @@ class SubPage
public static function doPreprocess()
{
User::assertPermission('view.summary');
+ if (!Module::isAvailable('js_chart')) {
+ ErrorHandler::traceError('js_chart not available');
+ }
}
public static function doRender()