Skip to content

Commit

Permalink
Merge pull request #3839 from GregChant/main
Browse files Browse the repository at this point in the history
fix api.googleapis.com  ticket.php
  • Loading branch information
nicolas-eoxia authored Apr 22, 2024
2 parents 56978db + 08de779 commit d70aba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/ticket/ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@

ob_clean();

$QR = imagecreatefrompng('https://chart.googleapis.com/chart?cht=qr&chld=H|1&chs='.$size.'&chl='.urlencode($urlToEncode));
$QR = imagecreatefrompng('https://quickchart.io/qr?text=' .urlencode($urlToEncode. '&size='.$size )); // chart.googleapis.com n'existe plus

if (! is_dir($targetPath)) {
mkdir($targetPath, 0777, true);
Expand Down

0 comments on commit d70aba1

Please sign in to comment.