From 2909589c258e8cfc3639b5fbbdfb76695c376371 Mon Sep 17 00:00:00 2001 From: satu Date: Mon, 28 Aug 2017 11:22:13 +0300 Subject: [PATCH] =?UTF-8?q?Jos=20kera=CC=88ysera=CC=88=20painaa=20yhta?= =?UTF-8?q?=CC=88=20paljon=20kuin=20max=20pakkaus,=20ja=CC=88a=CC=88=20luu?= =?UTF-8?q?ppiin,=20eika=CC=88=20vaihda=20pakkausta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.inc b/inc/functions.inc index 806ef473ef..cc612e4c0e 100644 --- a/inc/functions.inc +++ b/inc/functions.inc @@ -23713,7 +23713,7 @@ if (!function_exists('tee_keraysera_painon_perusteella')) { $lisatty_kol_maara = 0; - while (($pakkaukset_paino > $pakkauksen_kaytetty_paino)) { + while (($pakkaukset_paino >= $pakkauksen_kaytetty_paino)) { if (($pakkauksen_kaytetty_paino + ($kerayseran_rivit[$i]['data']['tuotemassa'] * $kerayseran_rivit[$i]['data']['myynti_era'])) > $pakkaukset_paino) {