From: Alexander Ebert Date: Wed, 18 Dec 2013 14:02:28 +0000 (+0100) Subject: Fixed typo X-Git-Tag: 2.0.1~40 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bb8d06a0e1f44af6fe870b66bc86b3d155fd4cf5;p=GitHub%2FWoltLab%2FWCF.git Fixed typo --- diff --git a/wcfsetup/install/files/lib/system/exporter/AbstractExporter.class.php b/wcfsetup/install/files/lib/system/exporter/AbstractExporter.class.php index 77b1cc3e3b..7e0eb00f24 100644 --- a/wcfsetup/install/files/lib/system/exporter/AbstractExporter.class.php +++ b/wcfsetup/install/files/lib/system/exporter/AbstractExporter.class.php @@ -106,7 +106,7 @@ abstract class AbstractExporter implements IExporter { public function init() { $host = $this->databaseHost; $port = 0; - if (preg_match('^~([0-9.]+):([0-9]{1,5})~$', $host, $matches)) { + if (preg_match('~^([0-9.]+):([0-9]{1,5})$~', $host, $matches)) { // simple check, does not care for valid ip addresses $host = $matches[1]; $port = $matches[2];