Commit 376a030d authored by Andy Hausmann's avatar Andy Hausmann

Another Compatibility Hotfix for TYPO3 4.5 LTS.

parent 4bae1c0c
......@@ -89,7 +89,7 @@ class Tx_Flexslider_ViewHelpers_DynLinkViewHelper extends Tx_Fluid_Core_ViewHelp
// Save link data into ViewHelper arguments
$this->setArgumentsFromArray($paramDataArr);
if ($this->hasArgument('href') && !empty($this->arguments['href'])) {
if (isset($this->arguments['href']) && !empty($this->arguments['href'])) {
$cObj = t3lib_div::makeInstance('tslib_cObj');
$configuration = array(
'parameter' => $this->arguments['href'],
......@@ -112,7 +112,7 @@ class Tx_Flexslider_ViewHelpers_DynLinkViewHelper extends Tx_Fluid_Core_ViewHelp
protected function addTagAttributes()
{
foreach ($this->paramLabels as $label) {
if ($this->hasArgument($label)
if (isset($this->arguments[$label])
&& !empty($this->arguments[$label]))
{
$this->tag->addAttribute($label, $this->arguments[$label]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment