mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Fix for missing button when custom button url in use.
This commit is contained in:
@@ -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. -->";
|
||||
}
|
||||
|
Reference in New Issue
Block a user