Skip to content

Commit

Permalink
Debug v20 - Fix sql
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 12, 2024
1 parent e4227c6 commit e94423f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions htdocs/website/class/websitepage.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -569,10 +569,6 @@ public function countAll($websiteid, string $filter = '', $filtermode = 'AND')
return -1;
}

if (count($sqlwhere) > 0) {
$sql .= ' AND ('.implode(' '.$this->db->escape($filtermode).' ', $sqlwhere).')';
}

$resql = $this->db->query($sql);
if ($resql) {
$obj = $this->db->fetch_object($resql);
Expand Down

0 comments on commit e94423f

Please sign in to comment.