From ffb5df97eff8245412cc97dc43c85d8b4bcc483b Mon Sep 17 00:00:00 2001 From: loviuz Date: Tue, 4 Aug 2020 10:45:44 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20salvataggio=20quantit=C3=A0=20manuali?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/articoli/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/articoli/actions.php b/modules/articoli/actions.php index e37d3e0ae..6016ed359 100755 --- a/modules/articoli/actions.php +++ b/modules/articoli/actions.php @@ -103,7 +103,7 @@ switch (post('op')) { $old_qta = $record['qta']; $movimento = $qta - $old_qta; - if ($movimento != 0) { + if (post('qta_manuale') == 1) { $descrizione_movimento = post('descrizione_movimento'); $data_movimento = post('data_movimento');