mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update posting_attachments.php
This commit is contained in:
parent
afe99e512b
commit
656555cd08
@ -1023,7 +1023,7 @@ class attach_parent
|
||||
$this->attach_filename = $new_physical_filename;
|
||||
|
||||
// Do we have to create a thumbnail ?
|
||||
if ($cat_id == IMAGE_CAT && intval($attach_config['img_create_thumbnail']))
|
||||
if ($cat_id == IMAGE_CAT && intval($attach_config['img_create_thumbnail']) && intval($attach_config['img_display_inlined']))
|
||||
{
|
||||
$this->thumbnail = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user