1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Notice removal

This commit is contained in:
Cameron
2019-06-14 14:44:46 -07:00
parent 1d311ff543
commit c4d2752477
2 changed files with 2 additions and 5 deletions

View File

@@ -961,13 +961,10 @@ if (!class_exists('e107table', false))
{ {
$ret = array(); $ret = array();
// $ret['{---CAPTION1---}'] = varset($this->renders[0]['caption']);
// $ret['{---CAPTION2---}'] = varset($this->renders[1]['caption']);
$types = array('caption') + $this->contentTypes; $types = array('caption') + $this->contentTypes;
$c = 1; $c = 1;
foreach($this->renders as $k => $val) foreach($this->renders as $k => $val)
@@ -976,7 +973,7 @@ if (!class_exists('e107table', false))
foreach($types as $var) foreach($types as $var)
{ {
$sc = '{---'.strtoupper($var).$c.'---}'; $sc = '{---'.strtoupper($var).$c.'---}';
$ret[$sc] = $val[$var]; $ret[$sc] = varset($val[$var]);
} }
$c++; $c++;

View File

@@ -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_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; break;
} }