From 784055b49021aed7bf130ab6aadc41fd537efd4f Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 26 Dec 2012 22:44:25 +0100 Subject: [PATCH] Fixes error message --- .../plugin/AbstractOptionPackageInstallationPlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); -- 2.20.1