Ignore:
Timestamp:
04/12/12 11:15:33 (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/workflow/inc/fpdf/font/makefont/makefont.php

    r795 r5928  
    172172        if(isset($fm['StdVW'])) 
    173173                $stemv=$fm['StdVW']; 
    174         elseif(isset($fm['Weight']) and eregi('(bold|black)',$fm['Weight'])) 
     174        elseif(isset($fm['Weight']) and preg_match('/(bold|black)/i',$fm['Weight'])) 
    175175                $stemv=120; 
    176176        else 
Note: See TracChangeset for help on using the changeset viewer.