Skip to content

Commit 942b3cb

Browse files
author
Till Brehm
committed
Update interface/lib/classes/listform_actions.inc.php
1 parent 6f6b948 commit 942b3cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/listform_actions.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public function getQueryString($no_limit = false) {
226226
}
227227

228228
$sql_where = $app->listform->getSearchSQL($sql_where);
229-
if(isset($app->listform->listDef['join_sql'])) $sql_where .= ' AND '.$app->listform->listDef['join_sql'];
229+
if(isset($app->listform->listDef['join_sql']) && $app->listform->listDef['join_sql'] != '') $sql_where .= ' AND '.$app->listform->listDef['join_sql'];
230230
$app->tpl->setVar($app->listform->searchValues);
231231

232232
$order_by_sql = $this->SQLOrderBy;

0 commit comments

Comments
 (0)