Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changed according to review comment
Signed-off-by: Peter Kovář <[email protected]>
  • Loading branch information
1div0 committed Oct 26, 2023
commit 77bca066c03ec71127f4e0bb626de618354d2036
2 changes: 1 addition & 1 deletion apps/dav/lib/Avatars/AvatarNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function get() {
ob_start();
if ($this->ext === 'png') {
imagepng($res);
} else if ($this->ext === 'jxl') {
} elseif ($this->ext === 'jxl') {
imagejxl($res);

Check failure

Code scanning / Psalm

UndefinedFunction

Function OCA\DAV\Avatars\imagejxl does not exist
} else {
imagejpeg($res);
Expand Down