Permalink
Browse files

Piwigo 2.9.2 has renamed function transliterate

  • Loading branch information...
plegall committed Oct 8, 2017
1 parent 498230e commit 7f746a40208ff73825c7fd3e8f7aa2b3e0c6b8d5
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/Tags/main.inc.php
@@ -55,7 +55,7 @@ function id_compare($a, $b)
foreach ($tags as $tag)
{
$tag_letter = mb_strtoupper(mb_substr(transliterate($tag['name']), 0, 1, PWG_CHARSET), PWG_CHARSET);
$tag_letter = mb_strtoupper(mb_substr((function_exists('pwg_transliterate') ? pwg_transliterate($tag['name']) : transliterate($tag['name'])), 0, 1, PWG_CHARSET), PWG_CHARSET);
if ($current_tag_idx==0) {
$current_letter = $tag_letter;

0 comments on commit 7f746a4

Please sign in to comment.