4
This commit is contained in:
@@ -85,8 +85,8 @@ class ArchivesController extends Crud
|
||||
$result = $this->model->save($params);
|
||||
Db::commit();
|
||||
} catch (Exception $e) {
|
||||
Db::rollback();
|
||||
return $this->fail($e->getMessage());
|
||||
Db::rollback();
|
||||
return $this->fail($e->getMessage());
|
||||
}
|
||||
if ($result === false) {
|
||||
return $this->fail(__('No rows were inserted'));
|
||||
|
||||
Reference in New Issue
Block a user