Skip to content

Commit 84e6b4e

Browse files
committed
ncp-web: check for possibly missing index
Signed-off-by: nachoparker <nacho@ownyourbits.com>
1 parent d108fad commit 84e6b4e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

changelog.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11

2-
[v1.23.0](https://github.com/nextcloud/nextcloudpi/commit/a670258) (2020-03-13) upgrade to NC18.0.2
2+
[v1.23.1](https://github.com/nextcloud/nextcloudpi/commit/317c2aa) (2020-03-15) ncp-web: check for possibly missing index
33

4-
[v1.22.3](https://github.com/nextcloud/nextcloudpi/commit/76d5da3) (2020-03-02) nc-snapshot-auto: read datadir location during execution
4+
[v1.23.0](https://github.com/nextcloud/nextcloudpi/commit/d108fad) (2020-03-13) upgrade to NC18.0.2
55

6-
[v1.22.2 ](https://github.com/nextcloud/nextcloudpi/commit/75b1a06) (2020-03-02) nc-maintenance: add is_active
6+
[v1.22.3 ](https://github.com/nextcloud/nextcloudpi/commit/c09dfd9) (2020-03-02) nc-snapshot-auto: read datadir location during execution
77

8-
[v1.22.1 ](https://github.com/nextcloud/nextcloudpi/commit/49de98b) (2020-03-03) samba: option to apply only to a NC group (#1048)
8+
[v1.22.2 ](https://github.com/nextcloud/nextcloudpi/commit/f71c8c8) (2020-03-02) nc-maintenance: add is_active
9+
10+
[v1.22.1 ](https://github.com/nextcloud/nextcloudpi/commit/c49c390) (2020-03-03) samba: option to apply only to a NC group (#1048)
911

1012
[v1.22.0 ](https://github.com/nextcloud/nextcloudpi/commit/9304c86) (2020-03-03) Add nc-trusted-proxies (#1094)
1113

ncp-web/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,13 @@
235235
<div id="loading-info-gif" class="loading-section-gif"> <img src="img/loading-small.gif"> </div>
236236
</div>
237237

238-
<div id="backups-wrapper" class="content-box <?php if($_GET['app'] != 'backups') echo 'hidden';?>">
238+
<div id="backups-wrapper" class="content-box <?php if(array_key_exists('app',$_GET) && ($_GET['app'] != 'backups')) echo 'hidden';?>">
239239
<h2 class="text-title"><?php echo $l->__("Backups"); ?></h2>
240240
<div id="backups-content" class="table-wrapper"></div>
241241
<div id="loading-backups-gif" class="loading-section-gif"> <img src="img/loading-small.gif"> </div>
242242
</div>
243243

244-
<div id="nc-config-wrapper" class="content-box <?php if($_GET['app'] != 'config') echo 'hidden';?>">
244+
<div id="nc-config-wrapper" class="content-box <?php if(array_key_exists('app',$_GET) && ($_GET['app'] != 'config')) echo 'hidden';?>">
245245
<h2 class="text-title"><?php echo $l->__("Nextcloud configuration"); ?></h2>
246246
<div id="nc-config-box" class="table-wrapper">
247247
<?php

0 commit comments

Comments
 (0)