From: Stephen Cameron Date: Mon, 23 Sep 2019 09:50:50 +0000 (+0200) Subject: Fix #3072 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=1129a39a97598630a00fd2e64863c3c83ae3dac5;p=fluidbook-html5.git Fix #3072 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.nav.js b/js/libs/fluidbook/fluidbook.nav.js index 8775db05..a030e54d 100644 --- a/js/libs/fluidbook/fluidbook.nav.js +++ b/js/libs/fluidbook/fluidbook.nav.js @@ -353,7 +353,7 @@ FluidbookNav.prototype = { if (this.fluidbook.datas.home === '%apphome%' || forceHome && DATAS.phonegap) { homeURL = decodeURIComponent(window.localStorage.getItem('apphome')); } - if ($_GET['home'] !== null) { + if ($_GET['home'] !== undefined) { if ($_GET['home'].indexOf("%253A") <= 6) { $_GET['home'] = decodeURIComponent(decodeURIComponent($_GET['home'])); }