Skip to content

Commit

Permalink
32 error
Browse files Browse the repository at this point in the history
  • Loading branch information
Niels Nübel committed Jun 7, 2018
1 parent 4abeef0 commit 6406709
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
7 changes: 1 addition & 6 deletions kickgdpr.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,9 @@ public function onBeforeCompileHead()
{
$href = $lang_link->link;
$link_url = $lang_link->link_url;
$target = $lang_link->link_url_target;
$target = (isset($lang_link->link_url_target) && $lang_link->link_url_target != "")? $lang_link->link_url_target : '_blank';
$href = (isset($href) && '' != $href) ? JRoute::_("index.php?Itemid={$href}") : false;
$href = (isset($link_url) && '' != $link_url && !$href) ? $link_url : $href;

if ($target == "")
{
$target = '_blank';
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion kickgdpr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>GNU General Public License version 3 or later; see LICENSE.txt</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.kicktemp.com</authorUrl>
<version>2.3.0</version>
<version>2.3.1</version>
<description>PLG_SYSTEM_KICKGDPR_XML_DESCRIPTION</description>
<files>
<folder>language</folder>
Expand Down
25 changes: 25 additions & 0 deletions update.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<version>2.3.1</version>
<name>System - KickGDPR</name>
<description>KickGDPR Plugin</description>
<element>kickgdpr</element>
<type>plugin</type>
<folder>system</folder>
<client>0</client>
<infourl title="KickGDPR Plugin">https://github.com/nielsnuebel/kickgdpr/</infourl>

<downloads>
<downloadurl type="full" format="zip">https://github.com/nielsnuebel/kickgdpr/archive/2.3.1.zip</downloadurl>
</downloads>

<tags>
<tag>stable</tag>
</tags>

<section>updates</section>
<maintainer>Niels Nübel / Stefan Wendhausen</maintainer>
<maintainerurl>https://www.kicktemp.com</maintainerurl>

<php_minimum>7.0.0</php_minimum>
<targetplatform name="joomla" version="3.[89]"/>
</update>
<update>
<version>2.3.0</version>
<name>System - KickGDPR</name>
Expand Down

0 comments on commit 6406709

Please sign in to comment.