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