Ignore:
Timestamp:
04/11/12 17:21: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/fpdf/tutorial/tuto6.php

    r2 r5921  
    4848                                $attr=array(); 
    4949                                foreach($a2 as $v) 
    50                                         if(ereg('^([^=]*)=["\']?([^"\']*)["\']?$',$v,$a3)) 
     50                                        if(preg_match('/^([^=]*)=["\']?([^"\']*)["\']?$/',$v,$a3)) 
    5151                                                $attr[strtoupper($a3[1])]=$a3[2]; 
    5252                                $this->OpenTag($tag,$attr); 
Note: See TracChangeset for help on using the changeset viewer.