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;

2 comments on commit e6136b8

@zero-24

This comment has been minimized.

Copy link

zero-24 replied May 25, 2018

Did you intended the revert of the last commit with this one? ded89dd

@nielsnuebel

This comment has been minimized.

Copy link
Owner Author

nielsnuebel replied May 25, 2018

@zero-24 yes :)

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.