1177: Print single receipt fails
[fa-stable.git] / reporting / rep113.php
index 916032b82aedaae1f526bdb1f51343f1d5b221b9..bca06d1b2cea99c4dd07da2ade2d4e9b25be8ad6 100644 (file)
@@ -49,8 +49,8 @@ function print_credits()
 
        $fno = explode("-", $from);
        $tno = explode("-", $to);
-       $from = min($fno[0], $fto[0]);
-       $to = max($fno[0], $fto[0]);
+       $from = min($fno[0], $tno[0]);
+       $to = max($fno[0], $tno[0]);
 
        $cols = array(4, 60, 225, 300, 325, 385, 450, 515);