소스 검색

dev 2019-12

Max YO 5 년 전
부모
커밋
e17b63280a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) . '…';