Index: trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php |
— | — | @@ -71,7 +71,7 @@ |
72 | 72 | * @return true |
73 | 73 | */ |
74 | 74 | public static function onGroupNotify( SWLGroup $group, array $userIDs, SWLChangeSet $changes ) { |
75 | | - global $egSWLMailPerChange; |
| 75 | + global $egSWLMailPerChange, $egSWLMaxMails; |
76 | 76 | |
77 | 77 | foreach ( $userIDs as $userID ) { |
78 | 78 | $user = User::newFromId( $userID ); |
— | — | @@ -148,7 +148,7 @@ |
149 | 149 | case count( $group->getConcepts() ) > 0 : |
150 | 150 | $type = 'concept'; |
151 | 151 | $name = $group->getConcepts(); |
152 | | - $name = $item[0]; |
| 152 | + $name = $name[0]; |
153 | 153 | break; |
154 | 154 | } |
155 | 155 | |