From 76db1c58752a7b85d75d91a01ccb4266c529ecb7 Mon Sep 17 00:00:00 2001 From: Jacek Pyziak Date: Wed, 28 Jan 2026 22:08:09 +0100 Subject: [PATCH] =?UTF-8?q?Usu=C5=84=20zb=C4=99dny=20kod=20wyj=C5=9Bciowy?= =?UTF-8?q?=20w=20funkcji=20get=5Ffinances=5Fcategories?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 10fc6af..545a3e8 100644 --- a/api.php +++ b/api.php @@ -99,7 +99,7 @@ if ( \S::get( 'action' ) == 'get_finances_categories' ) echo json_encode( $categories ); exit; } -echo 'a'; + if ( \S::get( 'action' ) == 'add_finance_operation' ) { if ( !\S::get( 'operation_date' ) || !\S::get( 'net_value' ) || !\S::get( 'product_name' ) || !\S::get( 'category_id' ) )