use random hash strings for Station URLs

This commit is contained in:
oliver 2016-02-27 19:59:59 +01:00
commit 676c2386fd
3 changed files with 58 additions and 11 deletions

View file

@ -72,7 +72,7 @@
$station = $this->Charactergroupsqueststations->getStationByUrl($quest['id'], $stationUrl);
// Generate QR-code
$url = $this->linker->link(array('qr', 'cgqs', $station['id']), 0, true, null, true, null, true);
$url = $this->linker->link(array('qr', 'cgqs', $station['url']), 0, true, null, true, null, true);
$file = $this->generateQRcode($url, $size);
if(is_null($file)) {
return;