mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
SyncUtils: fix PHP 5.3 compatibility
This commit is contained in:
parent
20ee7f6728
commit
4963b5fe54
@ -108,7 +108,7 @@ class SyncUtils
|
|||||||
}
|
}
|
||||||
|
|
||||||
$func = function ($match) use ($row) {
|
$func = function ($match) use ($row) {
|
||||||
return static::getSpecificValue($row, $match[1]);
|
return SyncUtils::getSpecificValue($row, $match[1]);
|
||||||
};
|
};
|
||||||
|
|
||||||
return preg_replace_callback('/\${([A-Za-z0-9\._-]+)}/', $func, $string);
|
return preg_replace_callback('/\${([A-Za-z0-9\._-]+)}/', $func, $string);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user