Skip to content

Commit

Permalink
Fixed "utf8_strtolower" the right way.
Browse files Browse the repository at this point in the history
  • Loading branch information
nerun committed Dec 4, 2023
1 parent 80dbefa commit dcbb241
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helper.php
Expand Up @@ -74,7 +74,7 @@ function _getAvatarURL($user, &$title, &$size) {
}

if (empty($src)) {
$seed = md5(strtolower($mail));
$seed = md5(dokuwiki\Utf8\PhpString::strtolower($mail));

if (function_exists('imagecreatetruecolor')) {
// we take the monster ID as default
Expand Down
2 changes: 1 addition & 1 deletion plugin.info.txt
Expand Up @@ -2,7 +2,7 @@
base avatar
author Daniel Rodrigues, Michael Hamann, Gina Häußge, et al.
email danieldiasr@gmail.com
date 2023-08-18
date 2023-12-04
name Avatar
desc Displays avatar images
url https://www.dokuwiki.org/plugin:avatar

0 comments on commit dcbb241

Please sign in to comment.