1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 16:25:56 +00:00

various fixes vor php 8.1 compatibility

This commit is contained in:
David Edler
2021-11-30 21:50:09 +01:00
parent df7b2e7984
commit 14027ae04e
9 changed files with 34 additions and 26 deletions

View File

@@ -31,7 +31,7 @@ class jimIcon {
}
if ($a != 127)
$this->all_transaprent = 0;
return imagecolorallocatealpha($img, $r, $g, $b, $a);
return imagecolorallocatealpha($img, $r, $g, $b, (int) $a);
}
// Given a string with the contents of an .ICO,