* fix var error.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user