Skip to content

Commit

Permalink
fix: missing check for deleteOnSave in cache()
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Feb 5, 2024
1 parent 6958fc3 commit a764c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RockMigrations.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ public function cache(
if ($debug) $this->wire->cache->delete($name);
$val = $this->wire->cache->get($name, $create);
$this->cacheDelete .= ",$name";
$this->cacheDeleteOnSave .= ",$name";
if ($deleteOnSave) $this->cacheDeleteOnSave .= ",$name";
return $val;
}

Expand Down

0 comments on commit a764c5a

Please sign in to comment.