[geeklog-cvs] geeklog-1.3/public_html index.php,1.69,1.70

blaine at iowaoutdoors.org blaine at iowaoutdoors.org
Fri Mar 25 17:57:03 EST 2005


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

Modified Files:
	index.php 
Log Message:
Update for Archive Feature to ignore the topic once the story has been archived


Index: index.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/index.php,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** index.php	6 Nov 2004 17:16:56 -0000	1.69
--- index.php	25 Mar 2005 22:57:01 -0000	1.70
***************
*** 135,139 ****
                                        "archive_flag='1'");
          }
!         if (!empty ($archivetid)) {
              COM_errorLOG("Archive Story: $sid, Topic:$archivetid, Title: $title. Expired :$expire");
              DB_query ("UPDATE {$_TABLES['stories']} SET tid = '$archivetid', frontpage = '0', featured = '0' WHERE sid='{$sid}'");
--- 135,139 ----
                                        "archive_flag='1'");
          }
!         if (!empty ($archivetid) AND $expiretopic != $archivetid) {
              COM_errorLOG("Archive Story: $sid, Topic:$archivetid, Title: $title. Expired :$expire");
              DB_query ("UPDATE {$_TABLES['stories']} SET tid = '$archivetid', frontpage = '0', featured = '0' WHERE sid='{$sid}'");




More information about the geeklog-cvs mailing list