Skip to content

Commit afad68f

Browse files
authored
Merge pull request #843 from LearningLocker/develop
v1.13.3
2 parents a226636 + 819b3c9 commit afad68f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.13.2
1+
1.13.3

app/locker/repository/Base/EloquentRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function show($id, array $opts) {
6767
*/
6868
public function destroy($id, array $opts) {
6969
$model = $this->show($id, $opts);
70-
return $this->fire($model->delete(), 'destroy', $opts, [
70+
return $this->fire(is_null($model->delete()), 'destroy', $opts, [
7171
'id' => $id
7272
]);
7373
}

0 commit comments

Comments
 (0)