Fixed Voicenumber and Updated Voiceplan

This commit is contained in:
Frank Schubert
2023-11-14 20:15:06 +01:00
parent 003ab67145
commit cc4a751407
20 changed files with 232 additions and 662 deletions
+2 -3
View File
@@ -313,8 +313,7 @@ class Contract extends mfBaseModel {
$me->loadMe();
$old_id = $this->id;
$old_nummer = $this->nummer;
unset($this->id);
$this->id = null;
// cleanup Contract daten
@@ -336,7 +335,7 @@ class Contract extends mfBaseModel {
//$this->save();
if($old_id == $this->id) {
$this->log->error("save() of cloned Contract $old_nummer failed!");
$this->log->error("save() of cloned Contract $old_id failed!");
throw new Exception("Saving clone failed.");
}