no more getSlave, convert code to use dbSlave instead
more form accessor fixes Form/Template.pm, all asset calls need a session var
This commit is contained in:
parent
77f9ae07b2
commit
197dacadec
9 changed files with 13 additions and 15 deletions
|
|
@ -233,7 +233,7 @@ sub getCollateral {
|
|||
if ($keyValue eq "new" || $keyValue eq "") {
|
||||
return {$keyName=>"new"};
|
||||
} else {
|
||||
return $self->session->db->quickHashRef("select * from $table where $keyName=".$self->session->db->quote($keyValue),$self->session->db->getSlave);
|
||||
return $self->session->db->quickHashRef("select * from $table where $keyName=".$self->session->db->quote($keyValue),$self->session->dbSlave);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue