From e730cd248dae97e84c193437b4f129ef9a5fd0f6 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 07 Sep 2011 08:31:52 -0400
Subject: [PATCH] - Fix displaying multipart/alternative messages with only one part (#1487938)
---
program/include/rcube_result_set.php | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/program/include/rcube_result_set.php b/program/include/rcube_result_set.php
index 499fb6a..1036160 100644
--- a/program/include/rcube_result_set.php
+++ b/program/include/rcube_result_set.php
@@ -4,8 +4,8 @@
+-----------------------------------------------------------------------+
| program/include/rcube_result_set.php |
| |
- | This file is part of the RoundCube Webmail client |
- | Copyright (C) 2006-2010, RoundCube Dev. - Switzerland |
+ | This file is part of the Roundcube Webmail client |
+ | Copyright (C) 2006-2010, The Roundcube Dev Team |
| Licensed under the GNU GPL |
| |
| PURPOSE: |
@@ -21,7 +21,7 @@
/**
- * RoundCube result set class.
+ * Roundcube result set class.
* Representing an address directory result set.
*
* @package Addressbook
@@ -44,27 +44,27 @@
{
$this->records[] = $rec;
}
-
+
function iterate()
{
return $this->records[$this->current++];
}
-
+
function first()
{
$this->current = 0;
return $this->records[$this->current++];
}
-
+
// alias for iterate()
function next()
{
return $this->iterate();
}
-
+
function seek($i)
{
$this->current = $i;
}
-
+
}
--
Gitblit v1.9.1