Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
CID wurde nicht richtig in die Datenbank geschrieben, dadurch funktionierte die Suche nicht richtig.
  • Loading branch information
degobbis committed Apr 6, 2017
1 parent 85cad92 commit 7b6b39d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions jtcsv2html.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,9 @@ protected function _setTplPath()
protected function _dbChkCache()
{
$db = JFactory::getDBO();
$cid = $this->_csv['cid'];

if ($cid = $this->_csv['cid'] == '')
if (empty($cid))
{
return;
}
Expand Down Expand Up @@ -414,8 +415,9 @@ protected function _dbChkCache()
protected function _dbLoadCache()
{
$return = false;
$cid = $this->_csv['cid'];

if ($cid = $this->_csv['cid'] == '')
if (empty($cid))
{
return;
}
Expand Down Expand Up @@ -448,8 +450,9 @@ protected function _dbLoadCache()
protected function _dbUpdateCache($id)
{
$return = false;
$cid = $this->_csv['cid'];

if ($cid = $this->_csv['cid'] == '')
if (empty($cid))
{
return;
}
Expand Down Expand Up @@ -572,8 +575,9 @@ protected function _buildHtml()
protected function _dbSaveCache()
{
$return = false;
$cid = $this->_csv['cid'];

if ($cid = $this->_csv['cid'] == '')
if (empty($cid))
{
return;
}
Expand Down
2 changes: 1 addition & 1 deletion jtcsv2html.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<authorUrl>www.joomtools.de</authorUrl>
<copyright>Copyright (C) 2016 JoomTools.de. All rights reserved.</copyright>
<license>GPL v3</license>
<version>3.0.0.1-dev</version>
<version>3.0.0.2-dev</version>
<description>PLG_CONTENT_JTCSV2HTML_XML_DESCRIPTION</description>

<files>
Expand Down

0 comments on commit 7b6b39d

Please sign in to comment.