Fixes error message
authorMatthias Schmidt <gravatronics@live.com>
Wed, 26 Dec 2012 21:44:25 +0000 (22:44 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 26 Dec 2012 21:44:25 +0000 (22:44 +0100)
wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php

index 129de73da8c9ad6a06d262746236c320ba29d02e..7e54970bbfff18d3e42a08ea71fbd806e52e8d57 100644 (file)
@@ -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']);