Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: cvs

interchange - thunder modified dist/standard/pages/forum/submit.html

 

 

Interchange cvs RSS feed   Index | Next | Previous | View Threaded


interchange-cvs at icdevgroup

Apr 23, 2008, 2:44 AM

Post #1 of 1 (48 views)
Permalink
interchange - thunder modified dist/standard/pages/forum/submit.html

User: thunder
Date: 2008-04-23 09:44:03 GMT
Modified: dist/standard/pages/forum submit.html
Log:
patch from march 2006 solving an issue where a new forum post is overwritten by the next post

Revision Changes Path
1.7 interchange/dist/standard/pages/forum/submit.html


rev 1.7, prev_rev 1.6
Index: submit.html
===================================================================
RCS file: /var/cvs/interchange/dist/standard/pages/forum/submit.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- submit.html 27 Mar 2006 18:49:54 -0000 1.6
+++ submit.html 23 Apr 2008 09:44:03 -0000 1.7
@@ -145,7 +145,8 @@
my $code;

if($CGI->{parent}) {
- my $existing = $db->query("select * from forum where parent = '$CGI->{parent}'");
+ my $existing = $db->query("select * from forum where parent = '$CGI->{parent}' or (parent = '0' and code = '$CGI->{parent}')");
+
if($existing and ! @$existing) {
$v{artid} = $CGI->{parent};
$code = $CGI->{parent};





_______________________________________________
interchange-cvs mailing list
interchange-cvs[at]icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs

Interchange cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.