Changeset 6063


Ignore:
Timestamp:
04/27/12 15:51:05 (12 years ago)
Author:
marcosw
Message:

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/library/mime/mimeDecode.php

    r6057 r6063  
    665665            $boundary = $bs_possible; 
    666666        } 
    667         $tmp = preg_split('/\/--/'.preg_quote($boundary, '/')."((?=\s)|--)/", $input); 
     667        $tmp = preg_split("/--".preg_quote($boundary, '/')."((?=\s)|--)/", $input); 
    668668 
    669669        $len = count($tmp) -1; 
  • trunk/phpgwapi/inc/class.jscalendar.inc.php

    r6057 r6063  
    154154                                return False; 
    155155                        } 
    156                         $fields = preg_split('/[./-]/',$datestr); 
    157                         foreach(preg_split('/[./-]/',$this->dateformat) as $n => $field) 
     156                        $fields = preg_split('/[.\/-]/',$datestr); 
     157                        foreach(preg_split('/[.\/-]/',$this->dateformat) as $n => $field) 
    158158                        { 
    159159                                if ($field == 'M') 
Note: See TracChangeset for help on using the changeset viewer.