From e1c37e409cc404c96f18025a6a5e52220b15ea16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Tue, 11 Apr 2017 11:20:40 +0200 Subject: [PATCH] Fix js errors by initializing JSINFO on details.php SPR-814 --- detail.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/detail.php b/detail.php index 8c87871..faf5eef 100755 --- a/detail.php +++ b/detail.php @@ -14,6 +14,11 @@ if (!defined('DOKU_INC')) { } header('X-UA-Compatible: IE=edge,chrome=1'); +global $JSINFO; +if (empty($JSINFO)) { + $JSINFO = array(); +} + ?>