mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 02:01:52 +02:00
Fix unable to show attachment parent in manage-medias (#1693)
This commit is contained in:
parent
2051c040ec
commit
db5d8694c4
@ -62,7 +62,7 @@ class Admin extends Contents
|
||||
protected function ___parentPost(): Config
|
||||
{
|
||||
return new Config($this->db->fetchRow(
|
||||
$this->select()->where('table.contents.cid = ?', $this->parentId)->limit(1)
|
||||
$this->select()->where('table.contents.cid = ?', $this->parent)->limit(1)
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user