Skip to content

Commit

Permalink
estetään kumma case, että tää ei ole array
Browse files Browse the repository at this point in the history
  • Loading branch information
jonikanerva committed Jul 12, 2016
1 parent 9d3a946 commit 162ee7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pupesoft_changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ function git_log($repo, $edveto_hash, $taveto_hash) {

$files = unserialize($pulrow['files']);

if (count($files)) {
if (is_array($files) and count($files) > 0) {
echo "<br>".t("Päivitetyt ohjelmat").":<br><table>";

foreach ($files as $file) {
Expand Down

0 comments on commit 162ee7a

Please sign in to comment.