return[API_STATUS=>API_ANSWER_STATUS_CONFLICT,API_MESSAGE=>'The record has been modified in the meantime. Please reload the form, edit and save again.'];
}
...
...
@@ -237,13 +235,48 @@ class Dirty {
$record=$this->db->sql("SELECT * FROM $tableName WHERE id=?",ROW_EXPECT_1,[$recordId],"Record to lock not found.");
return[API_STATUS=>API_ANSWER_STATUS_CONFLICT,API_MESSAGE=>'The record has been modified in the meantime. Please reload the form, edit and save again.'];
}
if($lockStatus==LOCK_FOUND_OWNER){
// if (false == $this->checkModified($tableName, $recordId, $recordDirty[DIRTY_RECORD_MODIFIED])) {
// return [API_STATUS => API_ANSWER_STATUS_CONFLICT, API_MESSAGE => 'The record has been modified in the meantime. Please reload the form, edit and save again.'];