forked from kevinowino869/mitrobill
Fix delete
This commit is contained in:
@ -79,6 +79,7 @@ switch ($action) {
|
||||
try {
|
||||
$d->delete();
|
||||
} catch (Exception $e) {
|
||||
} catch(Throwable $e){
|
||||
}
|
||||
try {
|
||||
$c->delete();
|
||||
@ -88,10 +89,12 @@ switch ($action) {
|
||||
try {
|
||||
$d->delete();
|
||||
} catch (Exception $e) {
|
||||
} catch(Throwable $e){
|
||||
}
|
||||
try {
|
||||
$c->delete();
|
||||
} catch (Exception $e) {
|
||||
} catch(Throwable $e){
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user