瀏覽代碼

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) . '…';