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