mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
mlantahler: Small bugfix: Member::currentUser() returns FALSE if the user is not logged in. So Member::currentUser()->ID won't work. (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41776 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9a22699fcc
commit
692b4b3df9
@ -52,6 +52,7 @@ class Permission extends DataObject {
|
||||
$groupList = self::groupList($memberID);
|
||||
if($groupList) {
|
||||
$groupCSV = implode(", ", $groupList);
|
||||
|
||||
// Arg component
|
||||
switch($arg) {
|
||||
case "any": $argClause = "";break;
|
||||
|
Loading…
Reference in New Issue
Block a user