Skip to content

Commit

Permalink
Revert "fix issue with identifier with new tiqr client"
Browse files Browse the repository at this point in the history
This reverts commit 4e2581d.
  • Loading branch information
joostd committed Jul 8, 2016
1 parent 95d5960 commit e5d8000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
$userStorage = Tiqr_UserStorage::getStorage($options['userstorage']['type'], $options['userstorage']);

function generate_id($length = 4) {
return base_convert(time(),10,36) . base_convert(rand(0, pow(36,$length)),10,36);
return base_convert(time(),10,36) . '-' . base_convert(rand(0, pow(36,$length)),10,36);
}

0 comments on commit e5d8000

Please sign in to comment.