mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
#9334 fixed regex
This commit is contained in:
parent
ee83cbf155
commit
2d31c7b116
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user