aboutsummaryrefslogtreecommitdiffstats
path: root/settings/templates/help.php
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2011-11-06 16:48:26 +0100
committerBrice Maron <brice@bmaron.net>2011-11-06 16:48:26 +0100
commit3940ca3df1a87a242b70f68b5f89f92cf3251526 (patch)
treef02c664318e1e91d0e119da49841da36eb832a5f /settings/templates/help.php
parentcc35cb74e191040169100021c906cc8267b3508e (diff)
downloadnextcloud-server-3940ca3df1a87a242b70f68b5f89f92cf3251526.tar.gz
nextcloud-server-3940ca3df1a87a242b70f68b5f89f92cf3251526.zip
Display correctly the error message when nothing is retrieved from OCS servers
Diffstat (limited to 'settings/templates/help.php')
-rw-r--r--settings/templates/help.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/settings/templates/help.php b/settings/templates/help.php
index 4e3cdd7b908..754bf8b6376 100644
--- a/settings/templates/help.php
+++ b/settings/templates/help.php
@@ -9,7 +9,10 @@
<?php
$url=OC_Helper::linkTo( "settings", "help.php" ).'?page=';
$pageNavi=OC_Util::getPageNavi($_['pagecount'],$_['page'],$url);
- $pageNavi->printPage();
+ if($pageNavi)
+ {
+ $pageNavi->printPage();
+ }
?>
</diV>
<?php if(is_null($_["kbe"])):?>