summaryrefslogtreecommitdiff
path: root/include/functions2.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions2.php')
-rw-r--r--include/functions2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 32c97aee4..df8768517 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -1773,7 +1773,7 @@
if (db_num_rows($result) == 1) {
return db_fetch_result($result, 0, "access_key");
} else {
- $key = db_escape_string(uniqid(base_convert(rand(), 10, 36)));
+ $key = db_escape_string(uniqid_short());
$result = db_query("INSERT INTO ttrss_access_keys
(access_key, feed_id, is_cat, owner_uid)