Check if we have an array with data. Fix #487

This commit is contained in:
Victor Dubiniuk 2012-12-02 22:24:14 +03:00
parent c840a688ab
commit 67682ec259
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,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>