Changeset 500

Show
Ignore:
Timestamp:
08/14/06 08:59:01 (2 years ago)
Author:
ben
Message:

Correcting uninitialised variable error.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/units/friends/user_friendship_requests.php

    r458 r500  
    1414                                                     FROM '.$CFG->prefix.'friends_requests fr LEFT JOIN '.$CFG->prefix.'users u ON u.ident = fr.owner 
    1515                                                     WHERE fr.friend = ? ORDER BY u.name ASC',array($page_owner))) { 
    16                 $body .= "<p>" . gettext("The following users would like to add you as a friend. They need your approval to do this (to change this setting, visit the 'account settings' page).") . "</p>"; 
     16                $body = "<p>" . gettext("The following users would like to add you as a friend. They need your approval to do this (to change this setting, visit the 'account settings' page).") . "</p>"; 
    1717                     
    1818                foreach($pending_requests as $pending_user) { 
     
    4949                 
    5050            } else { 
    51                 $body .= "<p>" . gettext("You have no pending friendship requests.") . "</p>"; 
     51                $body = "<p>" . gettext("You have no pending friendship requests.") . "</p>"; 
    5252            } 
    5353