Changeset 5912 for trunk/mobile


Ignore:
Timestamp:
04/11/12 12:04:21 (12 years ago)
Author:
marcosw
Message:

Ticket #2398 - Compatibilizacao com PHP-5.3 em alguns módulos do expresso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mobile/inc/class.ui_preferences.inc.php

    r4277 r5912  
    5858                        foreach($vars as $name => $value) 
    5959                        { 
    60                                 if (ereg('^lang_', $name) !== false) 
     60                                if (preg_match('/^lang_/', $name) !== false) 
    6161                                { 
    6262                                        $GLOBALS['phpgw']->template->set_var($name, lang(str_replace('_',' ',substr($name, 5)))); 
Note: See TracChangeset for help on using the changeset viewer.