Post had to be saved again after create
This commit is contained in:
parent
64786741d7
commit
c8ff2560ea
@ -303,6 +303,7 @@ class Post extends Rails\ActiveRecord\Base
|
||||
$this->commit_tags();
|
||||
$sql = "UPDATE posts SET cached_tags = ? WHERE id = ?";
|
||||
self::connection()->executeSql($sql, $this->cached_tags, $this->id);
|
||||
$this->save();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user