fixing #467 and correcting image sharpening on PHP 7.0 with GD

This commit is contained in:
Philippe Juillerat
2016-04-23 00:07:30 +02:00
parent bffd582bf7
commit ebe4caf124

View File

@@ -301,10 +301,9 @@ class pwg_image
for ($i=0; $i<3; $i++)
{
$line = & $matrix[$i];
for ($j=0; $j<3; $j++)
{
$line[$j] /= $norm;
$matrix[$i][$j] /= $norm;
}
}