Duplicate column name in query, do'h!
This commit is contained in:
parent
126f94016f
commit
516640b0cd
@ -409,7 +409,7 @@ class IDF_Views
|
|||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
$ids[] = $row->model_id;
|
$ids[] = $row->model_id;
|
||||||
}
|
}
|
||||||
$authSql->SOr(new Pluf_SQL(sprintf('id IN (%s)', implode(', ', $ids))));
|
$authSql->SOr(new Pluf_SQL(sprintf($db->pfx.'idf_projects.id IN (%s)', implode(', ', $ids))));
|
||||||
}
|
}
|
||||||
$sql->SAnd($authSql);
|
$sql->SAnd($authSql);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user