diff --git a/inc/page.php b/inc/page.php index 5db4c0e..33b7658 100644 --- a/inc/page.php +++ b/inc/page.php @@ -126,7 +126,7 @@ class Page { $sel = $this->get_selection($table); if ($where !== "") { - $where .= " OR "; + $where .= " AND "; } else { $where = "WHERE "; }