From 5e0a214eadea5a73e364972a7856e4fcd96291e1 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 14 Dec 2023 17:21:41 +0000 Subject: [PATCH] make cache table name into a valid postgres identifier for notifications --- core/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/config.php b/core/config.php index 341ed09a0..35f068695 100644 --- a/core/config.php +++ b/core/config.php @@ -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()); }