From: Matthias Schmidt Date: Wed, 26 Dec 2012 21:44:25 +0000 (+0100) Subject: Fixes error message X-Git-Tag: 2.0.0_Beta_1~669^2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=784055b49021aed7bf130ab6aadc41fd537efd4f;p=GitHub%2FWoltLab%2FWCF.git Fixes error message --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php index 129de73da8..7e54970bbf 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php @@ -159,7 +159,7 @@ abstract class AbstractOptionPackageInstallationPlugin extends AbstractXMLPackag if (!preg_match("/^[\w-\.]+$/", $data['name'])) { $matches = array(); preg_match_all("/(\W)/", $data['name'], $matches); - throw new SystemException("The user option '".$data['name']."' has at least one non-alphanumeric character (underscore is permitted): (".implode("), ( ", $matches[1]).")."); + throw new SystemException("The option '".$data['name']."' has at least one non-alphanumeric character (underscore is permitted): (".implode("), ( ", $matches[1]).")."); } $this->saveOption($data, $data['categoryname']);