Changeset 6817

Show
Ignore:
Timestamp:
09/19/08 20:28:54 (2 months ago)
Author:
p_lindheimer
Message:

closes #2792 by removing the underlying array_reverse() for php 5+

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/jpgraph_lib/jpgraph_pie3d.php

    r173 r6817  
    4040    // Set label arrays 
    4141    function SetLegends($aLegend) { 
    42         $this->legends = array_reverse($aLegend); 
     42                        if (version_compare(phpversion(),'5.0','lt')) { 
     43                                $this->legends = array_reverse($aLegend); 
     44                        } else { 
     45                                $this->legends = $aLegend; 
     46                        } 
    4347    } 
    4448 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads