Changeset 5111 for branches


Ignore:
Timestamp:
10/11/11 11:23:49 (8 years ago)
Author:
diogenesduarte
Message:

Ticket #2291 - Caso não encontre o usuário, indica que o usuário foi removido

Location:
branches/2.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/phpgwapi/inc/class.common.inc.php

    r3485 r5111  
    536536                { 
    537537                        $GLOBALS['phpgw']->accounts->get_account_name($accountid,$lid,$fname,$lname); 
     538                        if (! $lid && ! $firstname && ! $lastname) { 
     539                                return "( " . lang("removed user") . " )";       
     540                        } 
    538541                        return $this->display_fullname($lid,$fname,$lname); 
    539542                } 
Note: See TracChangeset for help on using the changeset viewer.