[geeklog-cvs] geeklog-1.3/public_html index.php,1.68,1.69
blaine at iowaoutdoors.org
blaine at iowaoutdoors.org
Sat Nov 6 12:16:58 EST 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv25122/public_html
Modified Files:
index.php
Log Message:
If story is automatically archived - then also reset the featured flag in case it was set on.
Index: index.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/index.php,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -d -r1.68 -r1.69
*** index.php 29 Oct 2004 11:18:41 -0000 1.68
--- index.php 6 Nov 2004 17:16:56 -0000 1.69
***************
*** 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) {
--- 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', featured = '0' WHERE sid='{$sid}'");
}
} else if ($statuscode == STORY_DELETE_ON_EXPIRE) {
More information about the geeklog-cvs
mailing list