aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/tpl/build_query.tpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/view/tpl/build_query.tpl b/view/tpl/build_query.tpl
index 25b370e69..4a2b0f60d 100644
--- a/view/tpl/build_query.tpl
+++ b/view/tpl/build_query.tpl
@@ -1,11 +1,8 @@
<script>
- var bParam_cmd = "$baseurl/update_network";
+ var bParam_cmd = "$baseurl/update_$pgtype";
- var bParam_wall = $wall;
- if(bParam_wall) { bParam_cmd = "$baseurl/update_channel"; }
-
var bParam_uid = $uid;
var bParam_gid = $gid;
var bParam_cid = $cid;
@@ -17,6 +14,7 @@
var bParam_spam = $spam;
var bParam_new = $nouveau;
var bParam_page = $page;
+ var bParam_wall = $wall;
var bParam_search = "$search";
var bParam_order = "$order";