From 081963fa140b41e2da7dba07d9193cf24293b8b2 Mon Sep 17 00:00:00 2001 From: MDW Date: Sun, 17 Mar 2024 14:32:42 +0100 Subject: [PATCH] Fix PhanPluginSuspiciousParamOrder by exchanging argument positions --- htdocs/public/opensurvey/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/public/opensurvey/index.php b/htdocs/public/opensurvey/index.php index 772245f3d51..b07b047d586 100644 --- a/htdocs/public/opensurvey/index.php +++ b/htdocs/public/opensurvey/index.php @@ -1,5 +1,6 @@ + * Copyright (C) 2024 MDW * * 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)) {