Merge pull request #15219 from frederic34/patch-8

phpcs
This commit is contained in:
Laurent Destailleur 2020-10-30 02:55:12 +01:00 committed by GitHub
commit d4db10a9e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,8 +242,7 @@ abstract class DoliDB implements Database
$fields=explode(',', $sortfield);
$orders=explode(',', $sortorder);
$i=0;
foreach($fields as $val)
{
foreach ($fields as $val) {
if (!$return) $return .= ' ORDER BY ';
else $return .= ', ';