Skip to content

Commit

Permalink
Fix deprecated null pass in Captcha
Browse files Browse the repository at this point in the history
  • Loading branch information
zerocrates committed Oct 30, 2024
1 parent 5e4c86b commit 39e6e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/libraries/Zend/Form/Element/Captcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public function getPluginLoader($type)
*/
public function addPrefixPath($prefix, $path, $type = null)
{
$type = strtoupper($type);
$type = is_string($type) ? strtoupper($type) : $type;
switch ($type) {
case null:
$loader = $this->getPluginLoader(self::CAPTCHA);
Expand Down

0 comments on commit 39e6e30

Please sign in to comment.