Skip to content

Commit

Permalink
Update z2m.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Jan 22, 2024
1 parent a0d7119 commit 41357e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 . ' '. $_infos[$k]);
$cmd->setName('Action ' . $logical . ' '. $_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

0 comments on commit 41357e4

Please sign in to comment.