From fa0d39a1f97fc5804dcbe5d22756d52b1c0777a6 Mon Sep 17 00:00:00 2001 From: Mason James Date: Thu, 27 Sep 2007 18:50:35 -0500 Subject: [PATCH] added debuglevel syspref, to control error message verbosity after runtime error. Signed-off-by: Chris Cormack --- updater/updatedatabase | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/updater/updatedatabase b/updater/updatedatabase index 98ccdeef13..eab08cfdad 100755 --- a/updater/updatedatabase +++ b/updater/updatedatabase @@ -263,6 +263,16 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion) ) { type => 'Choice', options => 'Calendar|Days' }, + { + uniquefieldrequired => 'variable', + variable => 'DebugLevel', + value => '0', + forceupdate => { 'explanation' => 1, + 'type' => 1}, + explanation => 'Set the level of error info sent to the browser. 0=none, 1=some, 2=most', + type => 'Choice', + options => '0|1|2' + }, { uniquefieldrequired => 'variable', variable => 'BorrowersTitles', -- 2.39.2