Ignore:
Timestamp:
04/12/12 15:18:08 (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/phplot/phplot.php

    r5928 r5934  
    941941        else { 
    942942            // Split the text by its lines, and count them 
    943             $which_text = ereg_replace("\r", "", $which_text); 
     943            $which_text = preg_replace('/\r/', '', $which_text); 
    944944            $str = split("\n", $which_text); 
    945945            $nlines = count($str); 
Note: See TracChangeset for help on using the changeset viewer.