summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/mysql.c2
-rw-r--r--version.log6
3 files changed, 7 insertions, 2 deletions
diff --git a/Changes b/Changes
index d506055ac..c0ac59058 100644
--- a/Changes
+++ b/Changes
@@ -4,6 +4,7 @@ Anope Version S V N
01/02 F Issues with both InspIRCd protocol modules. [ #00]
01/02 F Error reporting on LIST commands accepting ranges. [#622]
01/02 F ChanServ LIST now searches for '#chan' if only 'chan' is given. [#622]
+01/06 F Missing backtick in SQL query for saving news items. [ #00]
Anope Version 1.7.18
--------------------
diff --git a/src/mysql.c b/src/mysql.c
index 62e316010..96899be44 100644
--- a/src/mysql.c
+++ b/src/mysql.c
@@ -941,7 +941,7 @@ int db_mysql_save_news(NewsItem * ni)
if (ret && (mysql_affected_rows(mysql) == 0)) {
ret = db_mysql_try("INSERT DELAYED INTO anope_os_news "
- "(type, num, ntext, who, time`, active) "
+ "(type, num, ntext, who, `time`, active) "
"VALUES (%d, %d, '%s', '%s', %d, 1)",
ni->type, ni->num, q_text, q_who, (int) ni->time);
}
diff --git a/version.log b/version.log
index 5146b350e..b1d0e7692 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="18"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1218"
+VERSION_BUILD="1219"
# $Log$
#
+# BUILD : 1.7.18 (1219)
+# BUGS :
+# NOTES : Fixed a missing backtick in the INSERT query for newsitems
+#
# BUILD : 1.7.18 (1218)
# BUGS : 622
# NOTES : Fixed ChanServ LIST to now search for <#chan> if only <chan> is given; Fixed all LIST commands to give error reporting when specifying incorrect ranges.