- Reset variable in loop

pull/1/head
alecpl 13 years ago
parent a0be7a0985
commit de4de814b9

@ -2079,9 +2079,10 @@ class rcube_imap_generic
$result[$id]->subject = ''; $result[$id]->subject = '';
$result[$id]->messageID = 'mid:' . $id; $result[$id]->messageID = 'mid:' . $id;
$lines = array(); $headers = null;
$line = substr($line, strlen($m[0]) + 2); $lines = array();
$ln = 0; $line = substr($line, strlen($m[0]) + 2);
$ln = 0;
// get complete entry // get complete entry
while (preg_match('/\{([0-9]+)\}\r\n$/', $line, $m)) { while (preg_match('/\{([0-9]+)\}\r\n$/', $line, $m)) {

Loading…
Cancel
Save