Fix Models\Attachment
This commit is contained in:
parent
ca04b877f4
commit
2c3cc72d9d
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class Attachments extends Manager
|
|||
$table = $post instanceof PPost ? '::attachments_pos_pm' : '::attachments_pos';
|
||||
|
||||
if (empty($attInPost)) {
|
||||
if (true === $ditPost) {
|
||||
if (true === $editPost) {
|
||||
$vars = [
|
||||
':pid' => $post->id
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue