Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Jan 26, 2024
1 parent d4fccea commit 90d9226
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/class/sunshutter.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ public function calculPosition() {
log::add(__CLASS__, 'debug', $this->getHumanName() . ' ' . __('Calcul de positionnement - Action par défaut : Position personnalisée', __FILE__) . ' ' . __('à', __FILE__) . ' ' . $default . ' %');
break;
default:
$default = $this->getCurrentPosition();
$default = null;
log::add(__CLASS__, 'debug', $this->getHumanName() . ' ' . __('Calcul de positionnement - Action par défaut : Ne rien faire', __FILE__));
break;
}
Expand Down Expand Up @@ -584,7 +584,6 @@ public function executeAction($_force = false) {
}
}
$position = null;
//$position = $this->calculPosition();
$positionArray = $this->calculPosition();
$position = $positionArray['position'];
$label = $positionArray['label'];
Expand Down

0 comments on commit 90d9226

Please sign in to comment.