Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Jan 22, 2024
1 parent 14d7ee7 commit a0d7119
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/class/z2m.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ public function createCmd($_infos, $_type = null,$_father_property = null) {
$cmd->save();
} catch (\Throwable $th) {
try {
$cmd->setName('Action '.$logical_id);
$cmd->setName('Action ' . $logical_id . ' '. $_infos[$k]);
$cmd->save();
} catch (\Throwable $th) {
log::add('z2m', 'debug', '[createCmd] Can not create cmd ' . json_encode(utils::o2a($cmd)) . ' => ' . $th->getMessage());
Expand Down Expand Up @@ -912,7 +912,7 @@ public function createCmd($_infos, $_type = null,$_father_property = null) {
$cmd->save();
} catch (\Throwable $th) {
try {
$cmd->setName('Action '.$logical);
$cmd->setName('Action ' . $logical);
$cmd->save();
} catch (\Throwable $th) {
log::add('z2m', 'debug', '[createCmd] Can not create cmd ' . json_encode(utils::o2a($cmd)) . ' => ' . $th->getMessage());
Expand Down Expand Up @@ -949,7 +949,7 @@ public function createCmd($_infos, $_type = null,$_father_property = null) {
$cmd->save();
} catch (\Throwable $th) {
try {
$cmd->setName('Action '.$logical);
$cmd->setName('Action '. $logical . ' ' . $enum);
$cmd->save();
} catch (\Throwable $th) {
log::add('z2m', 'debug', '[createCmd] Can not create cmd ' . json_encode(utils::o2a($cmd)) . ' => ' . $th->getMessage());
Expand Down

0 comments on commit a0d7119

Please sign in to comment.