mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixing #467 and correcting image sharpening on PHP 7.0 with GD
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user