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 3d5ffebb52
commit 6a211f3fa1

View file

@ -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>