mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:15:55 +00:00
Address PHPStan warning in 'classes/pref/prefs.php'.
------ ------------------------------------------------ Line classes/pref/prefs.php ------ ------------------------------------------------ 1328 Expression on left side of ?? is not nullable. ------ ------------------------------------------------
This commit is contained in:
@@ -1325,7 +1325,7 @@ class Pref_Prefs extends Handler_Protected {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function activateprofile() {
|
function activateprofile() {
|
||||||
$id = (int) $_REQUEST['id'] ?? 0;
|
$id = (int) ($_REQUEST['id'] ?? 0);
|
||||||
|
|
||||||
$profile = ORM::for_table('ttrss_settings_profiles')
|
$profile = ORM::for_table('ttrss_settings_profiles')
|
||||||
->where('owner_uid', $_SESSION['uid'])
|
->where('owner_uid', $_SESSION['uid'])
|
||||||
|
|||||||
Reference in New Issue
Block a user