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/phpgwapi/inc/class.jscalendar.inc.php

    r5934 r6057  
    154154                                return False; 
    155155                        } 
    156                         $fields = split('[./-]',$datestr); 
    157                         foreach(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.