#27 patch for base and php5.3

BASE
closed-accepted
Will Urbanski
None
5
2010-06-18
2010-05-31
ohauer
No

The attached patch works with base 1.4.5 and php5.2/php5.3 it replace ereg(i) with preg_match(/i).

Additional for php5.3 the following diff should be applied (not included in attached patch)

--- ./base_graph_display.php.orig 2010-03-05 16:06:17.000000000 +0100
+++ ./base_graph_display.php 2010-04-11 23:52:13.000000000 +0200
@@ -114,7 +114,7 @@
else
{
// Create the graph area, legends on bottom -- Alejandro
- $Graph =& new Image_Graph(array('driver'=>'gd',
+ $Graph = new Image_Graph(array('driver'=>'gd',
'width'=>$width,
'height'=>$height));
}

Discussion

  • ohauer
    ohauer
    2010-05-31

    patch base 1.4.5 with php5.3

     
  • Will Urbanski
    Will Urbanski
    2010-06-17

    • assigned_to: nobody --> sinukas
     
  • Will Urbanski
    Will Urbanski
    2010-06-17

    Fixed in GIT. Thanks!

     
  • Will Urbanski
    Will Urbanski
    2010-06-17

    • status: open --> closed-accepted
     
  • Will Urbanski
    Will Urbanski
    2010-06-18

    • status: closed-accepted --> open-accepted
     
  • Will Urbanski
    Will Urbanski
    2010-06-18

    Fixed in CVS. Thanks!

     
  • Will Urbanski
    Will Urbanski
    2010-06-18

    • status: open-accepted --> closed-accepted