diff options
author | nachoparker <nacho@ownyourbits.com> | 2020-03-16 07:38:15 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2020-03-16 07:38:23 +0300 |
commit | 84e6b4ea6bc3e3fbe49f07a21ca609b627da4cfd (patch) | |
tree | 9de33c874cecd2d5528c966ae99affd3c62d7170 /ncp-web | |
parent | d108fad25461e4f739977f0c4e8085d1807c22ba (diff) |
ncp-web: check for possibly missing indexv1.23.1
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'ncp-web')
-rw-r--r-- | ncp-web/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ncp-web/index.php b/ncp-web/index.php index b2d21760..1b347fb0 100644 --- a/ncp-web/index.php +++ b/ncp-web/index.php @@ -235,13 +235,13 @@ HTML; <div id="loading-info-gif" class="loading-section-gif"> <img src="img/loading-small.gif"> </div> </div> - <div id="backups-wrapper" class="content-box <?php if($_GET['app'] != 'backups') echo 'hidden';?>"> + <div id="backups-wrapper" class="content-box <?php if(array_key_exists('app',$_GET) && ($_GET['app'] != 'backups')) echo 'hidden';?>"> <h2 class="text-title"><?php echo $l->__("Backups"); ?></h2> <div id="backups-content" class="table-wrapper"></div> <div id="loading-backups-gif" class="loading-section-gif"> <img src="img/loading-small.gif"> </div> </div> - <div id="nc-config-wrapper" class="content-box <?php if($_GET['app'] != 'config') echo 'hidden';?>"> + <div id="nc-config-wrapper" class="content-box <?php if(array_key_exists('app',$_GET) && ($_GET['app'] != 'config')) echo 'hidden';?>"> <h2 class="text-title"><?php echo $l->__("Nextcloud configuration"); ?></h2> <div id="nc-config-box" class="table-wrapper"> <?php |