Skip to content
Snippets Groups Projects
Commit 6a211f3f authored by Victor Dubiniuk's avatar Victor Dubiniuk
Browse files

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

parent 3d5ffebb
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
} }
?> ?>
</diV> </diV>
<?php if(is_null($_["kbe"])):?> <?php if(!is_array($_["kbe"]) || !count($_["kbe"])):?>
<div class="helpblock"> <div class="helpblock">
<p><?php echo $l->t('Problems connecting to help database.');?></p> <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> <p><a href="http://apps.owncloud.com/kb"><?php echo $l->t('Go there manually.');?></a></p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment