1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Fix for missing button when custom button url in use.

This commit is contained in:
Cameron
2014-06-28 21:01:51 -07:00
parent e582703d5a
commit ab6484be34

View File

@@ -246,7 +246,7 @@ class cpage_shortcodes extends e_shortcode
{
$tp = e107::getParser();
if(!check_class($this->var['page_class']))
if(empty($this->var['menu_button_url']) && !check_class($this->var['page_class'])) // ignore when custom url used.
{
return "<!-- Button Removed: Page check_class() returned false. -->";
}