Fix calls to DBA::select missing parameters
This commit is contained in:
parent
abe60f0f9a
commit
57ab858486
5 changed files with 6 additions and 6 deletions
|
@ -449,7 +449,7 @@ function networkFlatView(App $a, $update = 0)
|
|||
$condition = ["`term` = ? AND `otype` = ? AND `type` = ? AND `uid` = ?",
|
||||
$file, TERM_OBJ_POST, TERM_FILE, local_user()];
|
||||
$params = ['order' => ['tid' => true], 'limit' => [$pager->getStart(), $pager->getItemsPerPage()]];
|
||||
$result = DBA::select('term', ['oid'], $condition);
|
||||
$result = DBA::select('term', ['oid'], $condition, $params);
|
||||
|
||||
$posts = [];
|
||||
while ($term = DBA::fetch($result)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue