From 42560850b9ea6e90981f17a5eba78dc0df303dba Mon Sep 17 00:00:00 2001 From: Richard Toth Date: Sun, 27 Oct 2024 16:05:41 +0100 Subject: [PATCH] fix query --- _include/include_money_deposit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_include/include_money_deposit.php b/_include/include_money_deposit.php index 9796945..df38bb8 100644 --- a/_include/include_money_deposit.php +++ b/_include/include_money_deposit.php @@ -37,7 +37,7 @@ if ($this->is_id()) { } else { # BEFIZETÉS LISTA - $mod_query = "SELECT * FROM money_deposit JOIN money_income ON mod_money_income_mi_id = mi_id WHERE mod_deleted = 0 ORDER BY mi_date DESC, mi_id DESC LIMIT 5;"; + $mod_query = "SELECT * FROM money_deposit JOIN money_income ON mod_money_income_mi_id = mi_id WHERE mod_deleted = 0 ORDER BY mi_date DESC, mi_id DESC;"; $mod_array = array(); $mod_assoc_array = $sql->assoc_array($mod_query);