Skip to content

Commit

Permalink
Update scenarioExpression.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc committed Mar 1, 2018
1 parent 147f826 commit 4620f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/class/scenarioExpression.class.php
Expand Up @@ -1139,7 +1139,7 @@ public function execute(&$scenario = null) {
event::add('jeedom::alertPopup', $options['message']);
$this->setLog($scenario, __('Affichage du popup : ', __FILE__) . $options['message']);
return;
} else if ($this->getExpression() == 'equipement') {
} else if ($this->getExpression() == 'equipment') {
$eqLogic = eqLogic::byId(str_replace(array('#eqLogic', '#'), '', $this->getOptions('eqLogic')));
if (!is_object($eqLogic)) {
throw new Exception(__('Action sur l\'équipement impossible. Equipement introuvable - Vérifiez l\'id : ', __FILE__) . $this->getOptions('eqLogic'));
Expand Down

0 comments on commit 4620f83

Please sign in to comment.