From 6491ed9bbce5eadad5aa433014cb53c50a5aa2f5 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 02 Apr 2009 14:31:38 -0400
Subject: [PATCH] - Fix service not available error when pressing back from compose dialog (#1485552)

---
 program/steps/mail/list.inc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc
index 5cc2a57..d32e939 100644
--- a/program/steps/mail/list.inc
+++ b/program/steps/mail/list.inc
@@ -19,6 +19,10 @@
 
 */
 
+if (!$OUTPUT->ajax_call) {
+  return;
+}
+
 // is there a sort type for this request?
 if ($sort = get_input_value('_sort', RCUBE_INPUT_GET))
 {

--
Gitblit v1.9.1