Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

I'm with stupid

  • Loading branch information...
commit 3c7101d042f8c1f7ae9e88b605b9516d42dafe33 1 parent 89e3eba
Sebastian Muszytowski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actions/order/printOrder.php
View
2  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);
Please sign in to comment.
Something went wrong with that request. Please try again.