mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
fix fatalError() not working properly
This commit is contained in:
@@ -266,7 +266,7 @@ function genericSanityCheck() {
|
||||
setCookie("ttrss_test", "TEST");
|
||||
|
||||
if (getCookie("ttrss_test") != "TEST") {
|
||||
fatalError(2);
|
||||
return fatalError(2);
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -314,7 +314,7 @@ function init() {
|
||||
});
|
||||
|
||||
if (!genericSanityCheck())
|
||||
return;
|
||||
return false;
|
||||
|
||||
loading_set_progress(20);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user