From 3ceb893f66920383b0f79faf1fc896469ee3d2a4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 3 Aug 2015 19:21:06 +0300 Subject: add one catchall function to make uniqids/keyhashes/etc used by tt-rss --- include/functions2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions2.php') 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) -- cgit v1.2.3