aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/login.php4
-rw-r--r--version.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/actions/login.php b/actions/login.php
index d937dc2f7..99a1bb54d 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -50,7 +50,9 @@
datalist_set('first_admin_login', time());
forward('pg/admin/plugins');
- } else
+ } else if (get_input('returntoreferer')) {
+ forward($_SERVER['HTTP_REFERER']);
+ } else
forward("pg/dashboard/");
}
} else {
diff --git a/version.php b/version.php
index a933b15c9..2dd83b0d0 100644
--- a/version.php
+++ b/version.php
@@ -13,7 +13,7 @@
* @link http://elgg.org/
*/
- $version = 2009071701; // YYYYMMDD = Elgg Date
+ $version = 2009072201; // YYYYMMDD = Elgg Date
// XX = Interim incrementer
$release = '1.5'; // Human-friendly version name