fixing bugs in the no longer magic groups
This commit is contained in:
parent
e1aacb3a7d
commit
b26ae240ff
5 changed files with 32 additions and 27 deletions
|
|
@ -664,7 +664,10 @@ sub new {
|
|||
}
|
||||
};
|
||||
my %fullProperties;
|
||||
my $extra = WebGUI::SQL->quickHashRef("select * from ".$properties->{namespace}." where wobjectId='".$properties->{wobjectId}."'");
|
||||
my $extra;
|
||||
unless ($properties->{wobjectId} eq "new") {
|
||||
$extra = WebGUI::SQL->quickHashRef("select * from ".$properties->{namespace}." where wobjectId='".$properties->{wobjectId}."'");
|
||||
}
|
||||
tie %fullProperties, 'Tie::CPHash';
|
||||
%fullProperties = (%{$properties},%{$extra});
|
||||
bless({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue