...
 
Commits (2)
......@@ -550,9 +550,6 @@ class QuickFormQuery {
$rc = $save->process();
// Reload fresh saved record and fill STORE_RECORD with it.
$this->store->fillStoreWithRecord($this->formSpec[F_TABLE_NAME], $rc, $this->dbArray[$this->dbIndexData], $this->formSpec[F_PRIMARY_KEY]);
$save->processAllUploads($rc);
// Action: After*, Sendmail
......
......@@ -309,6 +309,9 @@ class Save {
}
}
// Reload fresh saved record and fill STORE_RECORD with it. Do this before nativeDoSlave().
$this->store->fillStoreWithRecord($this->formSpec[F_TABLE_NAME], $recordId, $this->db, $this->formSpec[F_PRIMARY_KEY]);
$this->nativeDoSlave($recordId);
return $recordId;
......