Index: trunk/extensions/FlaggedRevs/svggraph/svgGraph.php |
— | — | @@ -715,8 +715,10 @@ |
716 | 716 | if ($max < 0) $factor = - pow(10, (floor(log10(abs($max))) + $resolution) ); |
717 | 717 | else $factor = pow(10, (floor(log10(abs($max))) - $resolution) ); |
718 | 718 | } |
719 | | - $max = $factor * @ceil($max / $factor); |
720 | | - $min = $factor * @floor($min / $factor); |
| 719 | + wfSuppressWarnings(); |
| 720 | + $max = $factor * ceil($max / $factor); |
| 721 | + $min = $factor * floor($min / $factor); |
| 722 | + wfRestoreWarnings(); |
721 | 723 | |
722 | 724 | return array('min' => $min, 'max' => $max); |
723 | 725 | } |
— | — | @@ -766,5 +768,3 @@ |
767 | 769 | } |
768 | 770 | |
769 | 771 | } |
770 | | - |
771 | | -?> |