Browse Source

Update html.form.class.php

Laurent Destailleur 2 years ago
parent
commit
926c99f913
1 changed files with 2 additions and 2 deletions
  1. 2 2
      htdocs/core/class/html.form.class.php

+ 2 - 2
htdocs/core/class/html.form.class.php

@@ -6782,12 +6782,12 @@ class Form
 		}
 
 		// Add where from hooks
-		$parameters = [
+		$parameters = array(
 			'object' => $objecttmp,
 			'htmlname' => $htmlname,
 			'filter' => $filter,
 			'searchkey' => $searchkey
-		];
+		);
 
 		$reshook = $hookmanager->executeHooks('selectForFormsListWhere', $parameters); // Note that $action and $object may have been modified by hook
 		if (!empty($hookmanager->resPrint)) {