mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 23:56:58 +02:00
Breadcrumb fallback fix.
This commit is contained in:
15
class2.php
15
class2.php
@@ -975,6 +975,21 @@ if (!class_exists('e107table', false))
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return the first caption rendered with {SETSTYLE=default} or {SETSTYLE=main}
|
||||
* @return |null
|
||||
*/
|
||||
public function getMainCaption()
|
||||
{
|
||||
if(isset($this->mainRenders[0]['caption']))
|
||||
{
|
||||
return $this->mainRenders[0]['caption'];
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
function getMagicShortcodes()
|
||||
{
|
||||
$ret = array();
|
||||
|
Reference in New Issue
Block a user