From 4fdb0476e5d9e861a4ba510dbe5f885dcdf1575f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Sep 2008 07:41:04 +0100 Subject: [PATCH] exception handler in feedlist_dragsorted: report correct function name; initial load speedup --- feedlist.js | 2 +- functions.php | 4 ++++ tt-rss.php | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/feedlist.js b/feedlist.js index 6eb7312f..8400af52 100644 --- a/feedlist.js +++ b/feedlist.js @@ -354,7 +354,7 @@ function feedlist_dragsorted(ctr) { } } catch (e) { - exception_error("feedlist_init", e); + exception_error("feedlist_dragsorted", e); } } diff --git a/functions.php b/functions.php index 34778e37..21c91b13 100644 --- a/functions.php +++ b/functions.php @@ -1874,6 +1874,10 @@ setcookie("ttrss_lang", $_SESSION["language"], time() + SESSION_COOKIE_LIFETIME); } + + /* bump counters stamp since we're getting reloaded anyway */ + + $_SESSION["get_all_counters_stamp"] = time(); } } else { diff --git a/tt-rss.php b/tt-rss.php index f59fbea0..0a68a5b0 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -61,7 +61,7 @@ -
+