employer data bug

This commit is contained in:
CHIEFSOFT\ameye
2024-06-15 09:40:33 -04:00
parent 5db96c059f
commit 3da6b936b1
+1 -1
View File
@@ -146,7 +146,7 @@ public function employersList() :ResponseInterface {
&& $insert_data['email'] !=''
&& $insert_data['phone'] !='' ){
$result = $this-> insert_db('employers', $insert_data);
$sig_count = $this->updateSignatoryCount( $insert_data['employer_uid'] );
$sig_count = $this->updateSignatoryCount( $data['employer_uid'] );
}
else{
$result = [