From 2d31c7b116c1006b603cb5dc28dac842c8bb46ac Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Fri, 30 Sep 2022 09:16:31 +0200 Subject: [PATCH] #9334 fixed regex --- pandora_console/include/class/SatelliteAgent.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/class/SatelliteAgent.class.php b/pandora_console/include/class/SatelliteAgent.class.php index b25ad715af..886607f2d4 100644 --- a/pandora_console/include/class/SatelliteAgent.class.php +++ b/pandora_console/include/class/SatelliteAgent.class.php @@ -855,7 +855,7 @@ class SatelliteAgent extends HTML public function checkAddressExists($address) { - $pos_address = preg_grep('/.*_host\s('.$address.').*/', $this->satellite_config); + $pos_address = preg_grep('/.*_host\s('.$address.')\s.*/', $this->satellite_config); if (empty($pos_address) === false) { return true;