Skip to content

Commit

Permalink
Fixed a crash in links
Browse files Browse the repository at this point in the history
  • Loading branch information
ricerbot committed Oct 8, 2017
1 parent c24cf56 commit 0ac464f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/inc/util/GWF_Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public function getFounderID() { return $this->getFounder()->getID(); }
public function getVisibleMode() { return $this->getVar('group_options') & self::VIEW_FLAGS; }
public function getJoinMode() { return $this->getVar('group_options') & self::JOIN_FLAGS; }
public function isAskToJoin() { return ($this->getJoinMode() & (self::MODERATE|self::FREE)) > 0; }

public function displayName() { return $this->display('group_name'); }

/**
* @param int $gid
* @return GWF_Group
Expand Down

0 comments on commit 0ac464f

Please sign in to comment.