修复AdminLog::record的BUG($title传入无效)

pull/98/head
PPPSCN 2019-02-24 15:03:53 +08:00
parent 7b0689a22d
commit a45d90a9c8
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class AdminLog extends Model
} }
} }
} }
$title = self::$title; $title = !empty($title) ? $title : self::$title;
if (!$title) if (!$title)
{ {
$title = []; $title = [];