Commit 0240f5d2 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1201 Overwrite KOE capabilities only if they are different from the

already saved value.

Released under the Affero GNU General Public License (AGPL) version 3.
parent da7b5a0d
......@@ -153,8 +153,10 @@ class DeviceManager {
$this->device->SetKoeVersion(Request::GetKoeVersion());
$this->device->SetKoeBuild(Request::GetKoeBuild());
$this->device->SetKoeBuildDate(Request::GetKoeBuildDate());
if ($this->device->GetKoeCapabilities() != Request::GetKoeCapabilities()) {
$this->device->SetKoeCapabilities(Request::GetKoeCapabilities());
}
}
// data to be saved
$data = $this->device->GetData();
......
Markdown is supported
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