Skip to content

Commit

Permalink
Internal: Fix imagegif() call, function has no third parameter
Browse files Browse the repository at this point in the history
Author: @TheTomcat14
  • Loading branch information
TheTomcat14 committed Mar 6, 2023
1 parent 1883aad commit 249d933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/image.lib.php
Expand Up @@ -575,7 +575,7 @@ public function send_image($file = '', $compress = -1, $convert_file_to = null)
@imagetruecolortopalette($this->bg, true, $compress);
}

return imagegif($this->bg, $file, $compress);
return imagegif($this->bg, $file);
break;
default:
return 0;
Expand Down

0 comments on commit 249d933

Please sign in to comment.