Updated mithril functions
This commit is contained in:
@@ -14,9 +14,7 @@ class Api
|
||||
public function posts() {
|
||||
$get = [];
|
||||
$get['count'] = 0;
|
||||
$get['data'] = $this->model->showJoin([
|
||||
['pengumuman.status', '=', 1]
|
||||
]);
|
||||
$get['data'] = $this->model->showJoin();
|
||||
|
||||
if (array_key_exists(0, $get['data']) == false) {
|
||||
$temp_data = $get['data'];
|
||||
|
||||
Reference in New Issue
Block a user