* fix var error.

This commit is contained in:
wangyidong
2016-04-18 16:59:55 +08:00
parent f75c032c4d
commit 755013b151
+1 -1
View File
@@ -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;
}