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:
parent
8a920a16e7
commit
a38892d5d7
|
@ -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'])
|
||||||
|
|
Loading…
Reference in New Issue