summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/sendmail.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-19 12:17:24 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-19 12:17:24 +0000
commitaac5a08c0355ccf52ab5fc3911a2bc5789e247ac (patch)
tree92538c20043bf48a1d96c9ae7d29f18fa9252233 /roundcubemail/program/steps/mail/sendmail.inc
parentbc333b335dad1454d2d2728b2a3a10464483516e (diff)
- Fix call to undefined method rcube_result_index::getElement()
git-svn-id: https://svn.roundcube.net/trunk@5803 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/sendmail.inc')
-rw-r--r--roundcubemail/program/steps/mail/sendmail.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc
index 0c143058b..b06c6204b 100644
--- a/roundcubemail/program/steps/mail/sendmail.inc
+++ b/roundcubemail/program/steps/mail/sendmail.inc
@@ -714,7 +714,7 @@ if ($store_target) {
$delete_idx = $RCMAIL->storage->search_once($CONFIG['drafts_mbox'],
'HEADER Message-ID '.$olddraftmessageid);
- if ($del_uid = $delete_idx->getElement('FIRST')) {
+ if ($del_uid = $delete_idx->get_element('FIRST')) {
$deleted = $RCMAIL->storage->delete_message($del_uid, $CONFIG['drafts_mbox']);
// raise error if deletion of old draft failed
@@ -737,7 +737,7 @@ if ($savedraft) {
// remember new draft-uid ($saved could be an UID or TRUE here)
if (is_bool($saved)) {
$draft_idx = $RCMAIL->storage->search_once($CONFIG['drafts_mbox'], 'HEADER Message-ID '.$msgid);
- $saved = $draft_idx->getElement('FIRST');
+ $saved = $draft_idx->get_element('FIRST');
}
$COMPOSE['param']['draft_uid'] = $saved;