From 1600c7cc4f28f6ced338a2ea1f7f8df2c56c8341 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Sat, 30 Jan 2016 19:01:13 +0100 Subject: [PATCH] finally not available on old PHP releases --- lib/plugins/authpdo/auth.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/plugins/authpdo/auth.php b/lib/plugins/authpdo/auth.php index 45b2ca647..88bc44af1 100644 --- a/lib/plugins/authpdo/auth.php +++ b/lib/plugins/authpdo/auth.php @@ -648,10 +648,9 @@ class auth_plugin_authpdo extends DokuWiki_Auth_Plugin { $this->_debug($e, -1, $line); $this->_debug("SQL: <pre>$dsql</pre>", -1, $line); $result = false; - } finally { - $sth->closeCursor(); - $sth = null; } + $sth->closeCursor(); + $sth = null; return $result; } -- GitLab