aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-12 03:14:59 -0800
committerFriendika <info@friendika.com>2011-02-12 03:14:59 -0800
commit3d9845f4a45f963161e31fe18d69ed31e38af003 (patch)
tree82b3e8168f940336892e0447214898e2d8cabae6 /mod/item.php
parent4081ebe6c5f4e36f7b4ef288005995d959633fce (diff)
downloadvolse-hubzilla-3d9845f4a45f963161e31fe18d69ed31e38af003.tar.gz
volse-hubzilla-3d9845f4a45f963161e31fe18d69ed31e38af003.tar.bz2
volse-hubzilla-3d9845f4a45f963161e31fe18d69ed31e38af003.zip
preliminary ajax comment setups
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index a83373f59..0d9a674f2 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -490,7 +490,9 @@ function item_post(&$a) {
}
}
- goaway($a->get_baseurl() . "/" . $_POST['return'] );
+ if((x($_POST,'return')) && strlen($_POST['return']))
+ goaway($a->get_baseurl() . "/" . $_POST['return'] );
+ killme();
// NOTREACHED
}