Update html.form.class.php
This commit is contained in:
parent
17f77b8edb
commit
72bfa81082
@ -6350,7 +6350,7 @@ class Form
|
||||
// Add where from hooks
|
||||
$parameters = array();
|
||||
$reshook = $hookmanager->executeHooks('selectForFormsListWhere', $parameters); // Note that $action and $object may have been modified by hook
|
||||
if(!empty($hookmanager->resPrint)) $sql .= $hookmanager->resPrint;
|
||||
if (!empty($hookmanager->resPrint)) $sql .= $hookmanager->resPrint;
|
||||
else {
|
||||
$sql .= " WHERE 1=1";
|
||||
if (isset($objecttmp->ismultientitymanaged) && $objecttmp->ismultientitymanaged == 1) $sql .= " AND t.entity IN (".getEntity($objecttmp->table_element).")";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user