Skip to content
Permalink
Browse files

php72 fix

  • Loading branch information...
nielsnuebel committed May 25, 2018
1 parent ded89dd commit e6136b8120b6245147f128be4b773e474b241626
Showing with 2 additions and 2 deletions.
  1. +2 −2 kickgdpr.php
@@ -180,7 +180,7 @@ public function onBeforeCompileHead()
$lang_links = $this->params->get('lang_links', false);
if ($lang_links && count($lang_links))
if ($lang_links && count((array) $lang_links))
{
$lang = $this->app->getLanguage()->getTag();
@@ -238,7 +238,7 @@ public function onBeforeCompileHead()
$js[] = ' "allow": "' . JText::_($allow) . '",';
$js[] = ' "deny": "' . JText::_($deny) . '",';
$js[] = ' "link": "' . JText::_($link) . '",';
$js[] = ' "href": "' . $href . '",';
$js[] = ' "href": "' . JText::_($href) . '",';
$js[] = ' },';
$js[] = ' "cookie": {';
$js[] = ' "expiryDays": ' . (int) $expiryDays;

0 comments on commit e6136b8

Please sign in to comment.
You can’t perform that action at this time.