Changeset 6063 for trunk/phpgwapi


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.