Fixed Voicenumber and Updated Voiceplan
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user