@@ -559,7 +559,7 @@ abstract class AbstractBuildForm {
if($recordId!=0){
$record=$this->dbArray[$this->dbIndexData]->sql("SELECT * FROM `$tableName` WHERE `$primaryKey`=?",ROW_EXPECT_1,[$recordId],"Record to load not found. "
$record=$this->dbArray[$this->dbIndexData]->sql("SELECT * FROM `$tableName` WHERE `$primaryKey`=?",ROW_EXPECT_1,[$recordId],"Record to lock not found. "
$record=$this->dbArray[$this->dbIndexData]->sql("SELECT * FROM `$tableName` WHERE `$primaryKey`=?",ROW_EXPECT_1,[$recordId],"Record to lock not found. "
// FormAsFile: Get the new and the old form file name and make sure both files are writable (before DB changes are made)
if(FEATURE_FORM_FILE_SYNC){
// FormAsFile: If the record is a Form or FormElement get the new and the old form file name and make sure both files are writable (before DB changes are made).
// Note: This can't be done earlier because $formModeNew might be changed in the lines above.