Browse Source

Update Post model

Visman 5 năm trước cách đây
mục cha
commit
7f420205ef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Models/Post/Model.php

+ 1 - 1
app/Models/Post/Model.php

@@ -22,7 +22,7 @@ class Model extends DataModel
             throw new RuntimeException('Parent is not defined');
         }
 
-        return $this->c->topics->get($this->topic_id);
+        return $this->c->topics->load($this->topic_id);
     }
 
     /**