Commit 632ee10f authored by Tommaso Basilici's avatar Tommaso Basilici
Browse files

Update interface/web/client/client_edit.php

parent 596e30c0
...@@ -426,15 +426,16 @@ class page_action extends tform_actions { ...@@ -426,15 +426,16 @@ class page_action extends tform_actions {
} }
// lock and cancel // lock and cancel
if(!isset($this->dataRecord['locked'])) $this->dataRecord['locked'] = 'n'; if(!isset($this->dataRecord['locked'])) $this->dataRecord['locked'] = 'n';
if(isset($conf['demo_mode']) && $conf['demo_mode'] != true && $this->dataRecord["locked"] != $this->oldDataRecord['locked']) { if(isset($conf['demo_mode']) && $conf['demo_mode'] != true && $this->dataRecord["locked"] != $this->oldDataRecord['locked'])
$lock = functions::func_client_lock($this->id,$this->dataRecord["locked"]); {
} $lock = $app->functions->func_client_lock($this->id,$this->dataRecord["locked"]);
}
if(!isset($this->dataRecord['canceled'])) $this->dataRecord['canceled'] = 'n';
if(isset($conf['demo_mode']) && $conf['demo_mode'] != true && $this->dataRecord["canceled"] != $this->oldDataRecord['canceled']) { if(!isset($this->dataRecord['canceled'])) $this->dataRecord['canceled'] = 'n';
$cancel = functions::func_client_cancel($this->id,$this->dataRecord["canceled"]); if(isset($conf['demo_mode']) && $conf['demo_mode'] != true && $this->dataRecord["canceled"] != $this->oldDataRecord['canceled']) {
} $cancel = $app->functions->func_client_cancel($this->id,$this->dataRecord["canceled"]);
}
// language changed // language changed
if(isset($conf['demo_mode']) && $conf['demo_mode'] != true && isset($this->dataRecord['language']) && $this->dataRecord['language'] != '' && $this->oldDataRecord['language'] != $this->dataRecord['language']) { if(isset($conf['demo_mode']) && $conf['demo_mode'] != true && isset($this->dataRecord['language']) && $this->dataRecord['language'] != '' && $this->oldDataRecord['language'] != $this->dataRecord['language']) {
......
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