Changeset 4196


Ignore:
Timestamp:
05/03/11 11:16:09 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #1726 - Corrigido problema que não mostrava status da conexão cliente-servidor. r4194

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0.1/contactcenter/inc/class.ui_api.inc.php

    r3970 r4196  
    2626                function ui_api() 
    2727                { 
     28                        $preferences = ExecMethod('contactcenter.ui_preferences.get_preferences'); 
     29 
     30                        if (!is_array($preferences)) 
     31                        { 
     32                                $preferences['personCardEmail'] = 1; 
     33                        } 
    2834                        $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); 
    2935 
     
    7177 
    7278                        $this->commons = $template->get_var('out'); 
    73                         $this->commons_loaded = false; 
    74                         $preferences = ExecMethod('contactcenter.ui_preferences.get_preferences'); 
    75                         if (!is_array($preferences)) 
    76                         { 
    77                                 $preferences['personCardEmail'] = 1; 
    78                                 //$preferences['personCardPhone'] = 2; 
    79                         } 
    80                 } 
     79                        $this->commons_loaded = false;                   
     80                        } 
    8181                 
    8282                /* DEPRECTED! Use get_email_win() instead */ 
Note: See TracChangeset for help on using the changeset viewer.