Max YO 5 vuotta sitten
vanhempi
commit
e17b63280a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      helpers/helpers_default.php

+ 1 - 1
helpers/helpers_default.php

@@ -172,7 +172,7 @@ if (! function_exists('date_us_to_fr')) {
 }
 
 
-if (! function_exists('date_us_to_fr')) {
+if (! function_exists('truncate_str')) {
 	function truncate_str($str, $max_length) {
 	    if (strlen($str) > $max_length) {
 	        $str = substr($str, 0, $max_length-1) . '…';