diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-01-06 17:31:07 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-01-06 17:31:07 +0000 |
commit | bd6a836a8819643ae60100535b31693b4f0ee654 (patch) | |
tree | 054083915b7405e863b3fcdb0def5b312efe311e | |
parent | 2c390a19295d497256d49620fe7537503d320828 (diff) |
BUILD : 1.7.18 (1219) BUGS : NOTES : Fixed a missing backtick in the INSERT query for newsitems
git-svn-id: svn://svn.anope.org/anope/trunk@1219 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@938 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/mysql.c | 2 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 7 insertions, 2 deletions
@@ -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. |