// filter results, and add any data that is needed...
if (method_exists($x,'postListFilter')) {
- $ret = $x->postListFilter($ret, $this->authUser, $_REQUEST);
+ $ret = $x->postListFilter($ret, $this->authUser, $_REQUEST, $this);
}
}
if ( $with_perm_check && !$this->checkPerm($x,'A', $req)) {
- $this->jerr("PERMISSION DENIED (i)");
+ $this->jerr("PERMISSION DENIED {$x->tableName()}:checkPerm(A)");
}
$cols = $x->tableColumns();