just use 'popular tags' module (mod_tags_popular)
no error
syntax error in sql - double '
mysql
redundant quoting in mod_tags_popular/helper.php line 80:
$query->where($db->quoteName('tag_date') . ' > ' . $query->dateAdd($nowDate, '-1', strtoupper($timeframe)));
$nowdate is already quoted at line 36
line 36: $nowDate = $db->quote(JFactory::getDate()->toSql());
please, find the file attached
(from the distributive:
http://joomlacode.org/gf/download/frsrelease/19665/160049/Joomla_3.3.3-Stable-Full_Package.zip
)
2014-08-23 13:29 GMT+04:00 RolandD notifications@github.com:
I cannot reproduce this error. The query:
... nor do I see any duplicate quoting.Line 36 that you mention only has this code:
$nowDate = JFactory::getDate()->toSql();
The $nowDate is not quoted, the line below with the $nullDate is quoted
which is fine since it is not quoted again.—
Reply to this email directly or view it on GitHub
#4154 (comment).
This issue has already been fixed:
69a94cd
so the solution will be in the next release.
This comment was created with the J!Tracker Application at http://issues.joomla.org/.
Closed
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-08-23 12:11:20 |
Labels |
Added:
?
|
I cannot reproduce this error. The query:
executes fine nor do I see any duplicate quoting.
Line 36 that you mention only has this code:
The $nowDate is not quoted, the line below with the $nullDate is quoted which is fine since it is not quoted again.