mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:35:55 +00:00
fix various issues reported by static analysis
update gitlab-ci config
This commit is contained in:
@@ -130,7 +130,7 @@ class Pref_Filters extends Handler_Protected {
|
||||
while ($line = db_fetch_assoc($result)) {
|
||||
|
||||
$rc = get_article_filters(array($filter), $line['title'], $line['content'], $line['link'],
|
||||
false, $line['author'], explode(",", $line['tag_cache']));
|
||||
$line['author'], explode(",", $line['tag_cache']));
|
||||
|
||||
if (count($rc) > 0) {
|
||||
|
||||
|
||||
@@ -251,7 +251,6 @@ class Pref_Users extends Handler_Protected {
|
||||
|
||||
$login = db_fetch_result($result, 0, "login");
|
||||
$email = db_fetch_result($result, 0, "email");
|
||||
$salt = db_fetch_result($result, 0, "salt");
|
||||
|
||||
$new_salt = substr(bin2hex(get_random_bytes(125)), 0, 250);
|
||||
$tmp_user_pwd = make_password(8);
|
||||
|
||||
Reference in New Issue
Block a user