SyncUtils: fix PHP 5.3 compatibility

This commit is contained in:
Thomas Gelf 2017-03-09 10:56:14 +01:00
parent 20ee7f6728
commit 4963b5fe54

View File

@ -108,7 +108,7 @@ class SyncUtils
}
$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);