Commit 05b848e7 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch '6475-sql-query-builder-in-listform_actions-inc-php-failure' into 'develop'

Resolve "SQL query builder in listform_actions.inc.php failure"

Closes #6475

See merge request !1702
parents 6f6b9489 942b3cb0
Pipeline #13074 passed with stage
in 6 seconds
......@@ -226,7 +226,7 @@ class listform_actions {
}
$sql_where = $app->listform->getSearchSQL($sql_where);
if(isset($app->listform->listDef['join_sql'])) $sql_where .= ' AND '.$app->listform->listDef['join_sql'];
if(isset($app->listform->listDef['join_sql']) && $app->listform->listDef['join_sql'] != '') $sql_where .= ' AND '.$app->listform->listDef['join_sql'];
$app->tpl->setVar($app->listform->searchValues);
$order_by_sql = $this->SQLOrderBy;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment