]> git.wh0rd.org - tt-rss.git/blobdiff - classes/pref/feeds.php
more fts stuff for simple index
[tt-rss.git] / classes / pref / feeds.php
index d70c1a26add83d7d2e88751c58b4d24946a4e8cc..efa2c2af9b4b11bcaae94b1011cd92dc5d7fd924 100644 (file)
@@ -1893,7 +1893,7 @@ class Pref_Feeds extends Handler_Protected {
                        AND owner_uid = " . $owner_uid);
 
                if ($this->dbh->num_rows($result) == 1) {
-                       $key = $this->dbh->escape_string(uniqid(base_convert(rand(), 10, 36)));
+                       $key = $this->dbh->escape_string(uniqid_short());
 
                        $this->dbh->query("UPDATE ttrss_access_keys SET access_key = '$key'
                                WHERE feed_id = '$feed_id' AND is_cat = $sql_is_cat