mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Notice removal
This commit is contained in:
@@ -961,13 +961,10 @@ if (!class_exists('e107table', false))
|
||||
{
|
||||
$ret = array();
|
||||
|
||||
// $ret['{---CAPTION1---}'] = varset($this->renders[0]['caption']);
|
||||
// $ret['{---CAPTION2---}'] = varset($this->renders[1]['caption']);
|
||||
|
||||
$types = array('caption') + $this->contentTypes;
|
||||
|
||||
|
||||
|
||||
$c = 1;
|
||||
|
||||
foreach($this->renders as $k => $val)
|
||||
@@ -976,7 +973,7 @@ if (!class_exists('e107table', false))
|
||||
foreach($types as $var)
|
||||
{
|
||||
$sc = '{---'.strtoupper($var).$c.'---}';
|
||||
$ret[$sc] = $val[$var];
|
||||
$ret[$sc] = varset($val[$var]);
|
||||
}
|
||||
|
||||
$c++;
|
||||
|
@@ -69,7 +69,7 @@ class download_shortcodes extends e_shortcode
|
||||
}
|
||||
|
||||
$breadcrumb[] = array('text' => $this->var['download_category_name'], 'url' => ($this->var['download_category_id']) ? e107::url('download', 'category', $this->var) : null);
|
||||
$breadcrumb[] = array('text' => $this->var['download_name'], 'url' => null);
|
||||
$breadcrumb[] = array('text' => varset($this->var['download_name']), 'url' => null);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user