Fix PhanPluginSuspiciousParamOrder by exchanging argument positions

This commit is contained in:
MDW
2024-03-17 14:32:42 +01:00
parent 7ab07a1549
commit 081963fa14

View File

@@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2023 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -169,7 +170,7 @@ if (getDolGlobalString('OPENSURVEY_IMAGE_PUBLIC_INTERFACE')) {
}
$results = $object->fetchAll($sortfield, $sortorder, 0, 0, '(status:=:1)');
$results = $object->fetchAll($sortorder, $sortfield, 0, 0, '(status:=:1)');
$now = dol_now();
if (is_array($results)) {