diff --git a/settings.php b/settings.php index 2bb7e6a39..4d03bb438 100644 --- a/settings.php +++ b/settings.php @@ -298,18 +298,6 @@ - query($sql); - - if ($result) { - $payments = array(); - while ($row = $result->fetchArray(SQLITE3_ASSOC)) { - $payments[] = $row; - } - } - ?> - query($sql); @@ -472,6 +460,18 @@ + query($sql); + + if ($result) { + $payments = array(); + while ($row = $result->fetchArray(SQLITE3_ASSOC)) { + $payments[] = $row; + } + } + ?> +