]> git.mxchange.org Git - friendica.git/commitdiff
send browser back to correct page (with query args) after posting
authorfriendica <info@friendica.com>
Wed, 9 May 2012 11:18:01 +0000 (04:18 -0700)
committerfriendica <info@friendica.com>
Wed, 9 May 2012 11:18:01 +0000 (04:18 -0700)
include/conversation.php

index 521b4623b89bf7fb9383c39b768af2875d2b4559..e48a8e6d603acbc279b892f8653f028575c250a4 100644 (file)
@@ -959,7 +959,7 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
        $tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins));        
 
        $o .= replace_macros($tpl,array(
-               '$return_path' => $a->cmd,
+               '$return_path' => $a->query_string,
                '$action' =>  $a->get_baseurl(true) . '/item',
                '$share' => (x($x,'button') ? $x['button'] : t('Share')),
                '$upload' => t('Upload photo'),