mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 00:41:52 +02:00
Proper generation of Gallery breadcrumb
Fixing a mistyped condition, causing improper gallery plugin breadcrumb generation
This commit is contained in:
@@ -43,7 +43,7 @@ class gallery_shortcodes extends e_shortcode
|
||||
$template = e107::getTemplate('gallery', 'gallery', 'cat');
|
||||
|
||||
$caption = isset($template['caption']) ? e107::getParser()->toText($template['caption']) : LAN_PLUGIN_GALLERY_TITLE;
|
||||
if(!empty($var))
|
||||
if(!empty($this->var))
|
||||
{
|
||||
$breadcrumb[] = array('text' => $caption, 'url' => e107::getUrl()->create('gallery', $this->var));
|
||||
}
|
||||
|
Reference in New Issue
Block a user