[geeklog-cvs] geeklog-1.3/public_html/admin topic.php,1.37,1.38
blaine at geeklog.net
blaine at geeklog.net
Thu Jan 1 16:55:23 EST 2004
Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory geeklog_prod:/tmp/cvs-serv15891/public_html/admin
Modified Files:
topic.php
Log Message:
Fixed bug where creating a topic id (tid) with quotes would generate a SQL error. Not in the insert but in later retrievals where the tid is used.
Index: topic.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/topic.php,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** topic.php 28 Jun 2003 11:29:03 -0000 1.37
--- topic.php 1 Jan 2004 21:55:20 -0000 1.38
***************
*** 180,183 ****
--- 180,184 ----
$tid = str_replace (' ', '', $tid); // silently remove spaces from topic id
+ $tid = str_replace ("'", "", $tid); // silently remove single quotes from topic id
$access = 0;
More information about the geeklog-cvs
mailing list