diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2012-12-02 22:24:14 +0300 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2012-12-02 23:54:54 +0300 |
commit | 6a211f3fa15e371a6b0981cae1e230ec613734a8 (patch) | |
tree | c107093c4c127bb725bc2db350bd989c8ff08cc6 /settings/templates/help.php | |
parent | 3d5ffebb52e81e4e1f711c17b2b6b3009ea3ab67 (diff) | |
download | nextcloud-server-6a211f3fa15e371a6b0981cae1e230ec613734a8.tar.gz nextcloud-server-6a211f3fa15e371a6b0981cae1e230ec613734a8.zip |
Check if we have an array with data. Fix #487
Diffstat (limited to 'settings/templates/help.php')
-rw-r--r-- | settings/templates/help.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/help.php b/settings/templates/help.php index 9bb46740f5b..75201a86a9f 100644 --- a/settings/templates/help.php +++ b/settings/templates/help.php @@ -17,7 +17,7 @@ } ?> </diV> -<?php if(is_null($_["kbe"])):?> +<?php if(!is_array($_["kbe"]) || !count($_["kbe"])):?> <div class="helpblock"> <p><?php echo $l->t('Problems connecting to help database.');?></p> <p><a href="http://apps.owncloud.com/kb"><?php echo $l->t('Go there manually.');?></a></p> |