mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-31 06:02:00 +01:00
fixing #467 and correcting image sharpening on PHP 7.0 with GD
This commit is contained in:
1 parent
bffd582bf7
commit
ebe4caf124
1 file changed
+1
-2
@@ -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