diff options
author | Andrew Dolgov <[email protected]> | 2015-08-03 19:21:06 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-08-03 19:21:06 +0300 |
commit | 3ceb893f66920383b0f79faf1fc896469ee3d2a4 (patch) | |
tree | 27a9601fe635af1c4410133edbe141574bf389d6 /include/functions2.php | |
parent | e053fd8d6bd02ea1943b61f3ace5396845c2d1db (diff) |
add one catchall function to make uniqids/keyhashes/etc used by tt-rss
Diffstat (limited to 'include/functions2.php')
-rw-r--r-- | include/functions2.php | 2 |
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) |