diff options
Diffstat (limited to 'paste/include/storage/MysqlStorage.php')
-rw-r--r-- | paste/include/storage/MysqlStorage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/include/storage/MysqlStorage.php b/paste/include/storage/MysqlStorage.php index 239f113..d15de55 100644 --- a/paste/include/storage/MysqlStorage.php +++ b/paste/include/storage/MysqlStorage.php @@ -69,7 +69,7 @@ FULLTEXT INDEX (content) public function setContent($content) { - $name = sha1(date('r') . rand(1000)); + $name = sha1(date('r') . rand(1000, getrandmax())); if ($config['short_results_path']) { $urlbase = $config['short_results_path']; |