mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:45:55 +00:00
fix some minor issues found by code analyzer
This commit is contained in:
@@ -118,12 +118,6 @@ class Db_Prefs {
|
||||
$user_id = sprintf("%d", $user_id);
|
||||
}
|
||||
|
||||
if ($profile) {
|
||||
$profile_qpart = "AND profile = '$profile'";
|
||||
} else {
|
||||
$profile_qpart = "AND profile IS NULL";
|
||||
}
|
||||
|
||||
if (!$profile || get_schema_version() < 63) $profile = null;
|
||||
|
||||
$type_name = "";
|
||||
|
||||
Reference in New Issue
Block a user