This commit is contained in:
@@ -79,7 +79,6 @@ class ThemeConfigModel
|
|||||||
if ($exists) {
|
if ($exists) {
|
||||||
$this->query()->where('id', $exists['id'])->update($payload);
|
$this->query()->where('id', $exists['id'])->update($payload);
|
||||||
} else {
|
} else {
|
||||||
$payload['create_time'] = time();
|
|
||||||
$this->query()->insert($payload);
|
$this->query()->insert($payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user