speed up user instantiation
This commit is contained in:
parent
6298d394ff
commit
cd8456ee99
1 changed files with 2 additions and 1 deletions
|
|
@ -1075,7 +1075,8 @@ sub new {
|
|||
|
||||
# Fill in dataDefault
|
||||
my $default = $session->db->buildHashRef(
|
||||
"SELECT fieldName, dataDefault FROM userProfileField"
|
||||
"SELECT fieldName, dataDefault FROM userProfileField", [],
|
||||
{ noOrder => 1 },
|
||||
);
|
||||
for my $key (keys %profile) {
|
||||
if (!defined $profile{$key} || $profile{$key} eq '') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue