mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:45:56 +00:00
add one catchall function to make uniqids/keyhashes/etc used by tt-rss
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user