projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ed6ae2
)
Fixed UserGroupEdit
author
Magnus Kühn
<magnus@Magnus-Laptop.(none)>
Sun, 26 Feb 2012 07:46:45 +0000
(08:46 +0100)
committer
Magnus Kühn
<magnus@Magnus-Laptop.(none)>
Sun, 26 Feb 2012 07:46:45 +0000
(08:46 +0100)
wcfsetup/install/files/lib/system/cache/builder/OptionCacheBuilder.class.php
patch
|
blob
|
blame
|
history
wcfsetup/install/files/lib/system/option/user/group/UserGroupsUserGroupOptionType.class.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/lib/system/cache/builder/OptionCacheBuilder.class.php
b/wcfsetup/install/files/lib/system/cache/builder/OptionCacheBuilder.class.php
index 52ebce81cb16b1cc3200be115aa3a8e265872e56..66192d0f75e6f3589efd8e248b19871cfcee7a65 100644
(file)
--- a/
wcfsetup/install/files/lib/system/cache/builder/OptionCacheBuilder.class.php
+++ b/
wcfsetup/install/files/lib/system/cache/builder/OptionCacheBuilder.class.php
@@
-105,10
+105,11
@@
class OptionCacheBuilder implements ICacheBuilder {
if (!empty($type)) {
// strip trailing underscore
preg_match_all('~((?:^|[A-Z])[a-z]+)~', $type, $matches);
+
if (isset($matches[1])) {
$className = 'wcf\data\\';
for ($i = 0, $length = count($matches[1]); $i < $length; $i++) {
- $className .=
$matches[1][$i] . '\\'
;
+ $className .=
strtolower($matches[1][$i] . '\\')
;
}
$className .= 'option\\' . ucfirst($type) . 'Option';
}
diff --git
a/wcfsetup/install/files/lib/system/option/user/group/UserGroupsUserGroupOptionType.class.php
b/wcfsetup/install/files/lib/system/option/user/group/UserGroupsUserGroupOptionType.class.php
index 6fc331e71339111352cbf7426244f52578376bac..8ef035e35a888aa68747fdeecd455b80c4bca0da 100644
(file)
--- a/
wcfsetup/install/files/lib/system/option/user/group/UserGroupsUserGroupOptionType.class.php
+++ b/
wcfsetup/install/files/lib/system/option/user/group/UserGroupsUserGroupOptionType.class.php
@@
-1,5
+1,5
@@
<?php
-namespace wcf\system\option\user\
G
roup;
+namespace wcf\system\option\user\
g
roup;
use wcf\data\option\Option;
use wcf\data\user\group\UserGroup;
use wcf\system\exception\UserInputException;