From 4b72a1f49843aa64cdf90301ae71035c3e6cf30a Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 31 Jul 2015 12:48:17 -0400
Subject: [PATCH] Fix error when using back button after sending an email (#1490009)
---
index.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/index.php b/index.php
index 5cfd8df..c029b5a 100644
--- a/index.php
+++ b/index.php
@@ -131,7 +131,7 @@
// prevent redirect to compose with specified ID (#1488226)
if ($query['_action'] == 'compose' && !empty($query['_id'])) {
- $query = array();
+ $query = array('_action' => 'compose');
}
}
--
Gitblit v1.9.1