remove ?finally?-statement to support PHP < 5.5
This commit is contained in:
parent
e08fddd8c0
commit
6391de09bb
1 changed files with 3 additions and 1 deletions
|
|
@ -82,10 +82,12 @@
|
|||
}
|
||||
|
||||
|
||||
$stmt->close();
|
||||
return $data;
|
||||
}
|
||||
finally {
|
||||
catch(\Exception $e) {
|
||||
$stmt->close();
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue