summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index b373ca91c..04ddaadbb 100644
--- a/functions.php
+++ b/functions.php
@@ -1848,6 +1848,7 @@
$_POST["password"] = "";
$_SESSION["language"] = $_POST["language"];
+ $_SESSION["bw_limit"] = !!$_POST["bw_limit"];
header("Location: " . $_SERVER["REQUEST_URI"]);
exit;
@@ -3014,6 +3015,9 @@
print "<param key=\"hide_feedlist\" value=\"" .
(int) get_pref($link, "HIDE_FEEDLIST") . "\"/>";
+ print "<param key=\"bw_limit\" value=\"".
+ (int) $_SESSION["bw_limit"]."\"/>";
+
print "</init-params>";
}