Skip to content

Commit

Permalink
make cache table name into a valid postgres identifier for notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Dec 14, 2023
1 parent cd80e8f commit ad851cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public function __construct(
$this->table_name = $table_name;
$this->sub_value = $sub_value;
$this->sub_column = $sub_column;
$this->cache_name = empty($sub_value) ? "config" : "config_{$sub_column}={$sub_value}";
$this->cache_name = empty($sub_value) ? "config" : "config_{$sub_column}:{$sub_value}";
$this->values = cache_get_or_set($this->cache_name, fn () => $this->get_values());
}

Expand Down

0 comments on commit ad851cf

Please sign in to comment.