Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ncp-web/index.php')
-rw-r--r--ncp-web/index.php4
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