[geeklog-cvs] geeklog-1.3/public_html comment.php,1.90,1.91

vinny at iowaoutdoors.org vinny at iowaoutdoors.org
Mon Feb 7 00:17:47 EST 2005


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv21857

Modified Files:
	comment.php 
Log Message:
Forgot a couple of '$ret ='.  Found by Blaine.


Index: comment.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/comment.php,v
retrieving revision 1.90
retrieving revision 1.91
diff -C2 -d -r1.90 -r1.91
*** comment.php	5 Feb 2005 05:04:18 -0000	1.90
--- comment.php	7 Feb 2005 05:17:45 -0000	1.91
***************
*** 81,87 ****
              }
  
!             CMT_saveComment ( strip_tags ($_POST['title']), $_POST['comment'], 
!                 $sid, COM_applyFilter ($_POST['pid'], true), 'article',
!                 COM_applyFilter ($_POST['postmode']));
  
              if ( $ret > 0 ) { // failure
--- 81,87 ----
              }
  
!             $ret = CMT_saveComment ( strip_tags ($_POST['title']), 
!                 $_POST['comment'], $sid, COM_applyFilter ($_POST['pid'], true), 
!                 'article', COM_applyFilter ($_POST['postmode']));
  
              if ( $ret > 0 ) { // failure
***************
*** 106,112 ****
              }
  
!             CMT_saveComment (strip_tags ($_POST['title']), $_POST['comment'], 
!                 $sid, COM_applyFilter ($_POST['pid'], true), 'poll',
!                 COM_applyFilter ($_POST['postmode']));
  
              if ( $ret > 0 ) { // failure
--- 106,112 ----
              }
  
!             $ret = CMT_saveComment (strip_tags ($_POST['title']), 
!                 $_POST['comment'], $sid, COM_applyFilter ($_POST['pid'], true), 
!                 'poll', COM_applyFilter ($_POST['postmode']));
  
              if ( $ret > 0 ) { // failure




More information about the geeklog-cvs mailing list