Changeset 17 for trunk/client/modules/Elezioni/grafici
- Timestamp:
- Feb 20, 2010, 4:54:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/grafici/gd_image.inc.php
r2 r17 450 450 } 451 451 else { 452 if( ereg("\n",$txt) ) {452 if( preg_match('/\n/',$txt) ) { 453 453 $tmp = split("\n",$txt); 454 454 for($i=0; $i < count($tmp); ++$i) { … … 582 582 } 583 583 584 if( ! ereg("\n",$txt) || ($dir>0 && ereg("\n",$txt)) ) {584 if( !preg_match('/\n/',$txt) || ($dir>0 && preg_match('/\n/',$txt)) ) { 585 585 // Format a single line 586 586
Note:
See TracChangeset
for help on using the changeset viewer.