Browse Source

Update Post model

Visman 5 years ago
parent
commit
7f420205ef
1 changed files with 1 additions and 1 deletions
  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');
             throw new RuntimeException('Parent is not defined');
         }
         }
 
 
-        return $this->c->topics->get($this->topic_id);
+        return $this->c->topics->load($this->topic_id);
     }
     }
 
 
     /**
     /**