[geeklog-hg] geeklog: TOPIC_relatedTopics now returns topics in the correct l...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Jul 14 09:22:42 EDT 2013
changeset 9192:d55f92134c69
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/d55f92134c69
user: Tom <websitemaster at cogeco.net>
date: Sat Jul 13 14:17:21 2013 -0400
description:
TOPIC_relatedTopics now returns topics in the correct language for multi language sites
diffstat:
system/lib-topic.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r aa58b8ec9c48 -r d55f92134c69 system/lib-topic.php
--- a/system/lib-topic.php Sat Jul 13 13:42:01 2013 -0400
+++ b/system/lib-topic.php Sat Jul 13 14:17:21 2013 -0400
@@ -1481,7 +1481,7 @@
// Retrieve Topic options
$sql = "SELECT ta.tid, t.topic
FROM {$_TABLES['topic_assignments']} ta, {$_TABLES['topics']} t
- WHERE t.tid = ta.tid AND ta.type = '$type' AND ta.id ='$id'
+ WHERE t.tid = ta.tid AND ta.type = '$type' AND ta.id ='$id' " . COM_getLangSQL('tid', 'AND', 't') . "
AND t.tid != '" . TOPIC_ALL_OPTION . "' AND t.tid != '" . TOPIC_HOMEONLY_OPTION . "'";
} else {
$sql = "SELECT tid, topic
More information about the geeklog-cvs
mailing list