diff options
author | Steve Clay <steve@mrclay.org> | 2013-02-04 20:51:07 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-02-09 07:53:45 -0500 |
commit | 707df9db27cf2154910978427b9844448bcf931a (patch) | |
tree | 6ca8ba536758fe2f34ac6a55a18b7befa76bc74c /engine/classes/ElggGroup.php | |
parent | 85e4c16f39a8b00b229644bcd175663541dfd51a (diff) | |
download | elgg-707df9db27cf2154910978427b9844448bcf931a.tar.gz elgg-707df9db27cf2154910978427b9844448bcf931a.tar.bz2 |
Small changes to remove static analysis noise and simplify flow
Diffstat (limited to 'engine/classes/ElggGroup.php')
-rw-r--r-- | engine/classes/ElggGroup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggGroup.php b/engine/classes/ElggGroup.php index d17fa4f1a..24bdee79e 100644 --- a/engine/classes/ElggGroup.php +++ b/engine/classes/ElggGroup.php @@ -284,7 +284,7 @@ class ElggGroup extends ElggEntity * * @return bool */ - public function isMember($user = 0) { + public function isMember($user = null) { if (!($user instanceof ElggUser)) { $user = elgg_get_logged_in_user_entity(); } |