mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +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)
|
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) {
|
if (empty($pos_address) === false) {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user