We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d6366f + 777ebee commit cbd0fd6Copy full SHA for cbd0fd6
CHANGELOG
@@ -4,6 +4,7 @@
4
Version 1.1.30 under development
5
--------------------------------
6
7
+- Bug #4547: PHP 8 compatibility: Fix deprecation in CCaptcha when using Imagick extension (apphp)
8
- Bug #4541: PHP 8 compatibility: Fix deprecation in MarkdownParser (mdeweerd)
9
- Bug #4544: PHP 8 compatibility: Fix deprecation in CLocale (apphp)
10
framework/web/widgets/captcha/CCaptcha.php
@@ -168,8 +168,7 @@ public static function checkRequirements($extension=null)
168
{
169
if(extension_loaded('imagick'))
170
171
- $imagick=new Imagick();
172
- $imagickFormats=$imagick->queryFormats('PNG');
+ $imagickFormats=Imagick::queryFormats('PNG');
173
}
174
if(extension_loaded('gd'))
175
0 commit comments