Browse Source

skip system namespaces

main
ghost 9 months ago
parent
commit
dd44051236
  1. 6
      src/controller/room.php

6
src/controller/room.php

@ -518,6 +518,12 @@ class Room
return null; return null;
} }
// Skip meta records
if (str_starts_with($data['key'], '_'))
{
return null;
}
// Validate value format allowed in settings // Validate value format allowed in settings
if (!preg_match($this->_config->kevachat->post->value->regex, $data['value'])) if (!preg_match($this->_config->kevachat->post->value->regex, $data['value']))
{ {

Loading…
Cancel
Save