Merge pull request #57 from Himehane/patch-1

bug fix
This commit is contained in:
Mashiro 2019-02-18 21:53:56 +08:00 committed by GitHub
commit 32794e20c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1308,7 +1308,7 @@ function GBsubstr($string, $start, $length) {
}
function excerpt_length($exp) {
if (!function_exists(mb_substr)) {
if (!function_exists('mb_substr')) {
$exp = GBsubstr($exp, 0, 80);
} else {
/*