1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:45:56 +00:00

pref-prefs: PDO

This commit is contained in:
Andrew Dolgov
2017-12-02 12:01:56 +03:00
parent a77a47332c
commit 7039370368
2 changed files with 72 additions and 73 deletions

View File

@@ -9,6 +9,9 @@ class RPC extends Handler_Protected {
function setprofile() {
$_SESSION["profile"] = $_REQUEST["id"];
// default value
if (!$_SESSION["profile"]) $_SESSION["profile"] = null;
}
function remprofiles() {