Merge remote-tracking branch 'origin/pr-226'

Fix #225: call fetchAll on PDO statement #226
This commit is contained in:
Benjamin Sonntag 2018-06-21 17:46:09 +02:00
commit 42441d29a2
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class m_roundcube {
$req=$stmt->execute(array($fullmail)); $req=$stmt->execute(array($fullmail));
if ($req) { if ($req) {
foreach ( $req->fetchAll() as $t ) { foreach ( $stmt->fetchAll() as $t ) {
if (empty($t['user_id'])) continue ; if (empty($t['user_id'])) continue ;
$rcuser_id=$t['user_id']; $rcuser_id=$t['user_id'];