diff options
author | Andrew Dolgov <[email protected]> | 2017-03-04 14:34:44 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-03-04 14:34:44 +0300 |
commit | 1bfe1d7b31d5202846beb3425039776fbdbbfb85 (patch) | |
tree | e4c291a6938c060696bd9f499fab89ebcac394ab /include/functions2.php | |
parent | e6d66fe55ca217aeb0fb54b49ac9e7338d519c96 (diff) |
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
Diffstat (limited to 'include/functions2.php')
-rw-r--r-- | include/functions2.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<select default=\"$value\" name=\"" . htmlspecialchars($name) . - "\" $attributes onchange=\"labelSelectOnChange(this)\" >"; + "\" $attributes>"; while ($line = db_fetch_assoc($result)) { |