[geeklog-cvs] geeklog-1.3/public_html index.php,1.66,1.67

blaine at iowaoutdoors.org blaine at iowaoutdoors.org
Wed Oct 27 19:43:46 EDT 2004


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

Modified Files:
	index.php 
Log Message:
Archive Feature will now also disable show on frontpage if it was enabled.

Index: index.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/index.php,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** index.php	28 Sep 2004 08:28:49 -0000	1.66
--- index.php	27 Oct 2004 23:43:44 -0000	1.67
***************
*** 137,141 ****
          if (!empty ($archivetid)) {
              COM_errorLOG("Archive Story: $sid, Topic:$archivetid, Title: $title. Expired :$expire");
!             DB_query ("UPDATE {$_TABLES['stories']} SET tid = '$archivetid' WHERE sid='{$sid}'");
          }
      } else if ($statuscode == STORY_DELETE_ON_EXPIRE) {
--- 137,141 ----
          if (!empty ($archivetid)) {
              COM_errorLOG("Archive Story: $sid, Topic:$archivetid, Title: $title. Expired :$expire");
!             DB_query ("UPDATE {$_TABLES['stories']} SET tid = '$archivetid', frontpage = '0' WHERE sid='{$sid}'");
          }
      } else if ($statuscode == STORY_DELETE_ON_EXPIRE) {




More information about the geeklog-cvs mailing list