Fix small bugs
This commit is contained in:
committed by
M. Shull
parent
17949d06d5
commit
fee3b58e4e
@ -25,7 +25,7 @@ class UserFlagsController {
|
||||
|
||||
function get($name) {
|
||||
$this->ensureLoaded();
|
||||
if (empty($this->data[$name])) {
|
||||
if (!isset($this->data[$name])) {
|
||||
return $this->defaults[$name];
|
||||
}
|
||||
return $this->data[$name];
|
||||
|
Reference in New Issue
Block a user