diff options
author | alecpl <alec@alec.pl> | 2012-01-19 12:17:24 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-01-19 12:17:24 +0000 |
commit | a19d90043e996b3a8e95a6e3fd5c734c5f2ce551 (patch) | |
tree | c14bda898d374022e53ada29baa469e780c85917 /program/steps | |
parent | 002189e3ab413b7702f3e0939cab68c9ea10817a (diff) |
- Fix call to undefined method rcube_result_index::getElement()
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/mail/sendmail.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 0c143058b..b06c6204b 100644 --- a/program/steps/mail/sendmail.inc +++ b/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; |