Encode package size as well
authorJoey Schulze <joey@infodrom.org>
Wed, 23 Jan 2013 22:47:21 +0000 (23:47 +0100)
committerJoey Schulze <joey@infodrom.org>
Wed, 23 Jan 2013 22:47:21 +0000 (23:47 +0100)
utils.php

index 5bd6ce4..b54e4dd 100644 (file)
--- a/utils.php
+++ b/utils.php
@@ -167,7 +167,7 @@ function ordersatz_write($id, $dir, $send)
     fwrite($f, sprintf('\order{%d}{%s}{%s %s}{%s}'."\n",
                       $row['anzahl'],
                       $row['artnr'] ? (int)$row['artnr'] : '',
-                      $row['menge'],
+                      latex_encode($row['menge']),
                       $bez,
                       latex_encode($row['vpname'])));
   }