Metrics
0
Watch 89 Star 180 Fork 66

DuxPHP / DuxCMS3PHPZlib

字段截取函数的问题

Open
LuckyRow  Created at

\app\article\model\ArticleModel.php
85行
$_POST['description'] = \dux\lib\Str::strMake($_POST['content'], 250);
因为\dux\lib\Str::strMake会加‘...’实际字段大于250个,超出表字段长度,报错

401947_123lucky total 1 participants

Comments (0)

Sign in and comment

Assignee
Labels
Not set
Project
Milestone
Branch
Scheduled start
Not set
Scheduled end
Not set
Top level
Priority

Help Search