diff options
author | Brice Maron <brice@bmaron.net> | 2011-11-06 19:48:26 +0400 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2011-11-06 19:48:26 +0400 |
commit | 3940ca3df1a87a242b70f68b5f89f92cf3251526 (patch) | |
tree | f02c664318e1e91d0e119da49841da36eb832a5f /settings | |
parent | cc35cb74e191040169100021c906cc8267b3508e (diff) |
Display correctly the error message when nothing is retrieved from OCS servers
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/help.php | 5 |
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"])):?> |