From 1bfe1d7b31d5202846beb3425039776fbdbbfb85 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 4 Mar 2017 14:34:44 +0300 Subject: simplify error handling * less convoluted exception dialogs * use window.onerror for the majority of exception catching/reporting * remove most of now useless try/catch blocks * report stacktrace instead of manually specified error locations --- include/functions.php | 2 +- include/functions2.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/functions.php b/include/functions.php index cdd783cdc..c6de853d4 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1917,7 +1917,7 @@ $attributes, $include_all_cats = true, $root_id = false, $nest_level = 0) { if (!$root_id) { - print ""; } if ($root_id) diff --git a/include/functions2.php b/include/functions2.php index f3570e56b..d68d1ecc3 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -1902,7 +1902,7 @@ WHERE owner_uid = '".$_SESSION["uid"]."' ORDER BY caption"); print "