From 755013b151e331cbc6c148f3a560307f281b56fe Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 18 Apr 2016 16:59:55 +0800 Subject: [PATCH] * fix var error. --- lib/base/front/front.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/front/front.class.php b/lib/base/front/front.class.php index 8a6e23a5df..253b280579 100644 --- a/lib/base/front/front.class.php +++ b/lib/base/front/front.class.php @@ -116,7 +116,7 @@ class baseHTML /* if page has onlybody param then add this param in all link. the param hide header and footer. */ if(strpos($href, 'onlybody=yes') === false and isonlybody()) { - $onlybody = strpos($link, '?') === false ? "?onlybody=yes" : "&onlybody=yes"; + $onlybody = strpos($href, '?') === false ? "?onlybody=yes" : "&onlybody=yes"; $href .= $onlybody; }