Changeset 1483

Show
Ignore:
Timestamp:
12/19/07 22:39:06 (9 months ago)
Author:
misja
Message:

Misja Hoebe <misja@curverider.co.uk> Applied attachment:ticket:227:01217_invite_link.diff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/community/lib.php

    r1447 r1483  
    142142 
    143143    // Add membership requests to the personal network page 
    144     if (defined("context") && context == "network" && $page_owner == $_SESSION['userid']) { 
     144    if (defined("context") && context == "network" && isloggedin() && $page_owner == $_SESSION['userid']) { 
    145145          $PAGE->menu_sub[] = array( 'name' => 'membership:invites', 
    146146                                   'html' => a_href( "{$CFG->wwwroot}{$username}/communities/invitations", 
  • devel/mod/invite/lib.php

    r1436 r1483  
    55 * Created on Apr 18, 2007 
    66 * 
    7  * @author Diego Andrés Ramírez Aragón <diego@somosmas.org> 
     7 * @author Diego Andrᅵs Ramᅵrez Aragᅵn <diego@somosmas.org> 
    88 */ 
    99 
     
    4040    global $PAGE; 
    4141 
    42     if (defined('context') && context == 'network') { 
     42    if (defined('context') && context == 'network' && isloggedin()) { 
    4343        if (!maxusers_limit()) { 
    4444            $PAGE->menu_sub[] = array( 'name' => 'invite:friend',