Merge pull request 'Fix Undefined index when using Single User Mode' (#14) from Threk/tt-rss:master into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/14
This commit is contained in:
commit
c9b0196de0
|
@ -443,7 +443,7 @@ class RPC extends Handler_Protected {
|
|||
$params["default_view_mode"] = get_pref(Prefs::_DEFAULT_VIEW_MODE);
|
||||
$params["default_view_limit"] = (int) get_pref(Prefs::_DEFAULT_VIEW_LIMIT);
|
||||
$params["default_view_order_by"] = get_pref(Prefs::_DEFAULT_VIEW_ORDER_BY);
|
||||
$params["bw_limit"] = (int) $_SESSION["bw_limit"];
|
||||
$params["bw_limit"] = (int) ($_SESSION["bw_limit"] ?? false);
|
||||
$params["is_default_pw"] = UserHelper::is_default_password();
|
||||
$params["label_base_index"] = LABEL_BASE_INDEX;
|
||||
|
||||
|
|
Loading…
Reference in New Issue