mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix on sarch pages
This commit is contained in:
@@ -329,8 +329,10 @@ class WebsitePage extends CommonObject
|
||||
$sqlwhere = array();
|
||||
if (count($filter) > 0) {
|
||||
foreach ($filter as $key => $value) {
|
||||
if ($key == 't.rowid' || $key == 't.fk_website') {
|
||||
if ($key == 't.rowid' || $key == 't.fk_website' || $key == 'status') {
|
||||
$sqlwhere[] = $key.'='.$value;
|
||||
} elseif ($key == 'type_container') {
|
||||
$sqlwhere[] = $key."='".$value."'";
|
||||
} elseif ($key == 'lang' || $key == 't.lang') {
|
||||
$listoflang = array();
|
||||
$foundnull = 0;
|
||||
|
||||
Reference in New Issue
Block a user