Fix posts status issues
This commit is contained in:
@@ -144,7 +144,7 @@ abstract class Model
|
||||
try {
|
||||
$db = static::connectDB();
|
||||
|
||||
$result = $this->showAll();
|
||||
$result = $this->showAll('id', '=', $id);
|
||||
|
||||
foreach ($result as $post) {
|
||||
foreach ($post as $key => $val) {
|
||||
|
||||
Reference in New Issue
Block a user