2
0
forked from Wavyzz/dolibarr

Clean code

This commit is contained in:
Laurent Destailleur
2021-12-09 17:19:31 +01:00
parent 9462481e83
commit d80f83caf4
8 changed files with 8 additions and 8 deletions

View File

@@ -349,7 +349,7 @@ $sql = preg_replace('/,\s*$/', '', $sql);
/*
$parameters = array();
$reshook = $hookmanager->executeHooks('printFieldListHaving', $parameters, $object); // Note that $action and $object may have been modified by hook
$sql .= !empty($hookmanager->resPrint) ? (" HAVING 1=1 " . $hookmanager->resPrint) : "";
$sql .= empty($hookmanager->resPrint) ? "" : " HAVING 1=1 ".$hookmanager->resPrint;
*/
// Count total nb of records