Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathologic committed Oct 9, 2023
1 parent 3706fdb commit 033df65
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/snippets/FormLister/lib/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public static function countBetween($value, $minSize, $maxSize, $strict = false)
*/
protected static function getLength($string)
{
return strlen(utf8_decode($string));
return mb_strlen($string);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private function drawText()
}
$dir->close();
$text_font = (string)$fontstmp[array_rand($fontstmp)];
$chars = str_split($this->word);
$chars = mb_str_split($this->word);
$_chars = array();
$maxWidth = $this->im_width / count($chars);
$text_size = round(max($maxWidth, $this->im_height) * 3 /4.5 );
Expand Down
4 changes: 2 additions & 2 deletions manager/includes/version.inc.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
$modx_version = '1.4.31'; // Current version number
$modx_release_date = 'August 22, 2023'; // Date of release
$modx_version = '1.4.32'; // Current version number
$modx_release_date = 'October 09, 2023'; // Date of release
$modx_branch = 'Evolution CE'; // Codebase name
$modx_full_appname = "{$modx_branch} {$modx_version} ({$modx_release_date})";

0 comments on commit 033df65

Please sign in to comment.