forked from leftypol/leftypol
Display placeholder if no file in catalog/theme.php; czaks: fix the code a bit
This commit is contained in:
parent
cb97029d0d
commit
632d0a76d0
2 changed files with 3 additions and 1 deletions
|
@ -88,6 +88,8 @@
|
|||
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$post['file'] = $config['root'] . $config['image_deleted'];
|
||||
}
|
||||
|
||||
if (empty($post['image_count'])) $post['image_count'] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue