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)) {