修复traits中add的dataLimitType错误

pull/18/head
Karson 2017-09-15 19:04:50 +08:00
parent 28e4a782a9
commit 49e6704275
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ trait Backend
{ {
$v = is_array($v) ? implode(',', $v) : $v; $v = is_array($v) ? implode(',', $v) : $v;
} }
if ($this->dataLimitType) if ($this->dataLimit)
{ {
$params[$this->dataLimitField] = $this->auth->id; $params[$this->dataLimitField] = $this->auth->id;
} }