发布v2.6.5版本
This commit is contained in:
@@ -292,4 +292,14 @@ function lang($str,$lx='')
|
||||
$nstr = arrvalue($data[$str], $xuhao);
|
||||
if(!$nstr)$nstr = $str;
|
||||
return $nstr;
|
||||
}
|
||||
|
||||
/**
|
||||
* 为空替换为''
|
||||
*/
|
||||
function repempt($str,$dev='')
|
||||
{
|
||||
$s = $str;
|
||||
if($s===null)$s=$dev;
|
||||
return $s;
|
||||
}
|
||||
Reference in New Issue
Block a user