make cache table name into a valid postgres identifier for notifications
This commit is contained in:
parent
7f98412d8b
commit
d8a7ac985d
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ class DatabaseConfig extends BaseConfig
|
|||
$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());
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue