Fixed bug where database link fields did not default to 0 when creating new Group or SQL Report

This commit is contained in:
Andy Grundman 2003-07-04 04:30:32 +00:00
parent 2788250eeb
commit 21568641ca
2 changed files with 4 additions and 1 deletions

View file

@ -535,6 +535,7 @@ sub new {
$group{expireNotifyOffset} = -14;
$group{deleteOffset} = 14;
$group{expireNotify} = 0;
$group{databaseLinkId} = 0;
$group{dbCacheTimeout} = 3600;
} else {
%group = WebGUI::SQL->quickHash("select * from groups where groupId='$groupId'");

View file

@ -43,7 +43,9 @@ sub new {
-extendedProperties=>{
template=>{},
dbQuery=>{},
databaseLinkId=>{},
databaseLinkId=>{
defaultValue=>0
},
DSN=>{
defaultValue=>$session{config}{dsn}
},