From fb8a0e06c48f974d7e6ef864992d7453b91cd640 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Mon, 25 Mar 2013 19:20:12 +0000 Subject: Updated build_query for mid --- mod/display.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'mod/display.php') diff --git a/mod/display.php b/mod/display.php index d5feb1f54..170f800ac 100644 --- a/mod/display.php +++ b/mod/display.php @@ -23,11 +23,9 @@ function display_content(&$a, $update = 0, $load = false) { if(argc() > 1 && argv(1) !== 'load') $item_hash = argv(1); - // This should actually be mid, but it needs to be changed in build_query.tpl and in all the - // pages which call it - if($_REQUEST['uri']) - $item_hash = $_REQUEST['uri']; + if($_REQUEST['mid']) + $item_hash = $_REQUEST['mid']; if(! $item_hash) { @@ -85,7 +83,7 @@ function display_content(&$a, $update = 0, $load = false) { '$cats' => '', '$dend' => '', '$dbegin' => '', - '$uri' => $item_hash + '$mid' => $item_hash )); -- cgit v1.2.3