From: Joey Schulze Date: Wed, 23 Jan 2013 22:47:21 +0000 (+0100) Subject: Encode package size as well X-Git-Url: https://git.infodrom.org/?p=misc%2Fhallinta-metro;a=commitdiff_plain;h=04709e27d178c495b7b89ca1e66c75a43600f15a Encode package size as well --- diff --git a/utils.php b/utils.php index 5bd6ce4..b54e4dd 100644 --- 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']))); }