Skip to content

Commit

Permalink
fix cycle in Report
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Oct 12, 2023
1 parent 949ad41 commit af82eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbraFlexi/Report.php
Expand Up @@ -50,7 +50,7 @@ public function loadFromAbraFlexi($id = null) {
public function updateApiURL() {
$code = $this->getDataValue('kod');
if(empty($code) && is_string($this->init) && preg_match('/^code:/',$this->init) ){
$this->setMyKey(\AbraFlexi\RO::uncode($this->init));
$this->setDataValue($this->getMyKey(),\AbraFlexi\RO::uncode($this->init));
} else {
$this->unsetDataValue('kod');
parent::updateApiURL();
Expand Down

0 comments on commit af82eeb

Please sign in to comment.