Permalink
Browse files

I'm with stupid

  • Loading branch information...
1 parent 89e3eba commit 3c7101d042f8c1f7ae9e88b605b9516d42dafe33 Sebastian Muszytowski committed Nov 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actions/order/printOrder.php
@@ -109,7 +109,7 @@
$latexorderids[] = $order["orderid"];
}
Order::markAsOrdered($latexorderids,$orderSerivce["id"]);
- $idstring = implode("-",$latexorderids);
+ $idstring = implode("-",array_unique($latexorderids));
$fp = fopen('data/zettel/'.$idstring.'.tex', 'w+');
fwrite($fp, Helper::LaTeXChars($latex));
fclose($fp);

0 comments on commit 3c7101d

Please sign in to comment.