From 7cb90f8569ec740904562ce2ea12bbc7f9f8de4b Mon Sep 17 00:00:00 2001 From: Luke Carlson Date: Tue, 1 Jul 2014 11:22:03 -0400 Subject: [PATCH] corrected query string fix --- libs/live.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/live.php b/libs/live.php index 9e49220..edc9f96 100644 --- a/libs/live.php +++ b/libs/live.php @@ -28,7 +28,7 @@ function getfile($tree, $url, $current_dir, $flag = FALSE) { global $docs_path, $base_doc, $options; $url = clean_url($url, "Live", true); - if ($options['clean_urls'] == true) $url = explode("?", $link)[0]; + if ($options['clean_urls'] == true) $url = explode("?", $url)[0]; if ($url === '' || $url === 'index') { if (is_file($docs_path . "/index.md")) return $docs_path . "/index.md"; else {