mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:15:55 +00:00
fix a few more session-related warnings
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
UserHelper::authenticate( "admin", null);
|
||||
}
|
||||
|
||||
if ($_SESSION["uid"]) {
|
||||
if (!empty($_SESSION["uid"])) {
|
||||
if (!validate_session()) {
|
||||
header("Content-Type: text/json");
|
||||
print error_json(6);
|
||||
|
||||
Reference in New Issue
Block a user