[geeklog-cvs] geeklog-1.3/public_html calendar_event.php,1.35,1.36

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Fri Dec 10 04:24:17 EST 2004


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

Modified Files:
	calendar_event.php 
Log Message:
Start time, end time, and event location weren't copied over when adding a site event to the personal calendar (bug #336)


Index: calendar_event.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/calendar_event.php,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** calendar_event.php	30 Oct 2004 17:13:23 -0000	1.35
--- calendar_event.php	10 Dec 2004 09:24:15 -0000	1.36
***************
*** 107,111 ****
      
      return $retval;
- 
  }
  
--- 107,110 ----
***************
*** 132,136 ****
          if (DB_numRows ($result) == 1) {
  
!             $savesql = "INSERT INTO {$_TABLES['personal_events']} (eid,uid,title,event_type,datestart,dateend,allday,address1,address2,city,state,zipcode,url,description,group_id,owner_id,perm_owner,perm_group,perm_members,perm_anon) SELECT eid," . $_USER['uid'] . ",title,event_type,datestart,dateend,allday,address1,address2,city,state,zipcode,url,description,group_id,owner_id,perm_owner,perm_group,perm_members,perm_anon FROM {$_TABLES['events']} WHERE eid = '{$eid}'";
  
              DB_query ($savesql);
--- 131,135 ----
          if (DB_numRows ($result) == 1) {
  
!             $savesql = "INSERT INTO {$_TABLES['personal_events']} (eid,uid,title,event_type,datestart,dateend,timestart,timeend,allday,location,address1,address2,city,state,zipcode,url,description,group_id,owner_id,perm_owner,perm_group,perm_members,perm_anon) SELECT eid," . $_USER['uid'] . ",title,event_type,datestart,dateend,timestart,timeend,allday,location,address1,address2,city,state,zipcode,url,description,group_id,owner_id,perm_owner,perm_group,perm_members,perm_anon FROM {$_TABLES['events']} WHERE eid = '{$eid}'";
  
              DB_query ($savesql);




More information about the geeklog-cvs mailing list