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/phpgwapi/inc/fpdf/font/makefont/makefont.php

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