@@ -16,6 +16,7 @@ |
||
| 16 | 16 | * Computes the name of the table based on the DAO plural module name. |
| 17 | 17 | * |
| 18 | 18 | * @param AbstractZohoDao $dao |
| 19 | + * @param string $prefix |
|
| 19 | 20 | * |
| 20 | 21 | * @return string |
| 21 | 22 | */ |
@@ -106,11 +106,11 @@ |
||
| 106 | 106 | $rowsDeleted[] = $row['uid']; |
| 107 | 107 | } |
| 108 | 108 | if($update && isset($row['updated_fieldname'])){ |
| 109 | - $columnName = $row['updated_fieldname']; |
|
| 110 | - $zohoBean->getZohoId()?:$zohoBean->setZohoId($row['id']); |
|
| 111 | - $this->updateDataZohoBean($zohoBean, $fieldsMatching, $columnName, $row[$columnName]); |
|
| 112 | - $zohoBeans[$row['uid']] = $zohoBean; |
|
| 113 | - $rowsDeleted[] = $row['uid']; |
|
| 109 | + $columnName = $row['updated_fieldname']; |
|
| 110 | + $zohoBean->getZohoId()?:$zohoBean->setZohoId($row['id']); |
|
| 111 | + $this->updateDataZohoBean($zohoBean, $fieldsMatching, $columnName, $row[$columnName]); |
|
| 112 | + $zohoBeans[$row['uid']] = $zohoBean; |
|
| 113 | + $rowsDeleted[] = $row['uid']; |
|
| 114 | 114 | } |
| 115 | 115 | } |
| 116 | 116 | $zohoDao->save($zohoBeans); |