diff options
Diffstat (limited to 'paste/include')
-rw-r--r-- | paste/include/generator/ShortGenerator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/include/generator/ShortGenerator.php b/paste/include/generator/ShortGenerator.php index 320ff10..fc6c1ad 100644 --- a/paste/include/generator/ShortGenerator.php +++ b/paste/include/generator/ShortGenerator.php @@ -51,7 +51,7 @@ class ShortGenerator extends IdGeneratorEngine $converted = ''; // id source (time + random) - $n = intval(time() . rand(1000, getrandmax())); + $n = time() . rand(1000, getrandmax()); while ($n > 0) { $converted = substr(self::codeset, bcmod($n, $base), 1) . $converted; |