Fix #225: call fetchAll on PDO statement
This commit is contained in:
parent
13144a162a
commit
3647151c67
|
@ -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'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue