diff --git a/e107_handlers/sitelinks_class.php b/e107_handlers/sitelinks_class.php index 5fae3ac43..a683b2395 100644 --- a/e107_handlers/sitelinks_class.php +++ b/e107_handlers/sitelinks_class.php @@ -321,7 +321,15 @@ class sitelinks if ($linkInfo['link_button']) { $linkstart = preg_replace('/\/si', '', $linkstart); - $linkstart .= ""; + + if($linkInfo['link_button'][0]=='{') + { + $linkstart .= ""; + } + else + { + $linkstart .= ""; + } } // mobile phone support.