Ignore:
Timestamp:
04/27/12 09:17:30 (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/reports/inc/class.functions.inc.php

    r5291 r6057  
    119119                        $result['raw_context'] = $acl[0]['context']; 
    120120                         
    121                         $all_contexts = split("%", $acl[0]['context']); 
     121                        $all_contexts = preg_split('/%/', $acl[0]['context']); 
    122122                        foreach ($all_contexts as $index=>$context) 
    123123                        { 
     
    10711071                function make_lang($ram_lang) 
    10721072                { 
    1073                         $a_lang = split("_", $ram_lang); 
     1073                        $a_lang = preg_split('/_/', $ram_lang); 
    10741074                        $a_lang_reverse  = array_reverse ( $a_lang, true ); 
    10751075                        array_pop ( $a_lang_reverse ); 
Note: See TracChangeset for help on using the changeset viewer.