mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 08:15:58 +00:00
print additional info on fatalError(3)
This commit is contained in:
@@ -524,8 +524,13 @@ function hideOrShowFeeds(doc, hide) {
|
||||
|
||||
}
|
||||
|
||||
function fatalError(code) {
|
||||
window.location = "error.php?c=" + param_escape(code);
|
||||
function fatalError(code, params) {
|
||||
if (!params) {
|
||||
window.location = "error.php?c=" + param_escape(code);
|
||||
} else {
|
||||
window.location = "error.php?c=" + param_escape(code) +
|
||||
"&p=" + param_escape(params);
|
||||
}
|
||||
}
|
||||
|
||||
function selectTableRow(r, do_select) {
|
||||
|
||||
Reference in New Issue
Block a user