Commit d87ba7f4 authored by Carsten  Rose's avatar Carsten Rose
Browse files

AbstractBuildForm.php: Bug STORE_BEFORE double filled - fixed

parent a1d0c47a
......@@ -347,7 +347,6 @@ abstract class AbstractBuildForm {
if ($recordId > 0 && $this->store->getVar('id', STORE_RECORD) === false) {
$row = $this->db->sql("SELECT * FROM " . $this->formSpec[F_TABLE_NAME] . " WHERE id = ?", ROW_EXPECT_1, array($recordId), "Form '" . $this->formSpec[F_NAME] . "' failed to load record '$recordId' from table '" . $this->formSpec[F_TABLE_NAME] . "'.");
$this->store->setVarArray($row, STORE_RECORD);
$this->store->setVarArray($row, STORE_BEFORE);
}
$this->checkAutoFocus();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment