From dd44051236289845edd8742c4c69d42889165dac Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 21 Feb 2024 23:06:46 +0200 Subject: [PATCH] skip system namespaces --- src/controller/room.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/controller/room.php b/src/controller/room.php index 4b420ef..abdd69e 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -518,6 +518,12 @@ class Room return null; } + // Skip meta records + if (str_starts_with($data['key'], '_')) + { + return null; + } + // Validate value format allowed in settings if (!preg_match($this->_config->kevachat->post->value->regex, $data['value'])) {