[geeklog-cvs] geeklog-1.3/public_html calendar.php,1.31.2.1,1.31.2.2

dhaun at geeklog.net dhaun at geeklog.net
Fri Jan 23 16:16:18 EST 2004


Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory geeklog_prod:/tmp/cvs-serv20073

Modified Files:
      Tag: geeklog_1_3_8_1_1
	calendar.php 
Log Message:
Fixed check for current user's ID.


Index: calendar.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/calendar.php,v
retrieving revision 1.31.2.1
retrieving revision 1.31.2.2
diff -C2 -d -r1.31.2.1 -r1.31.2.2
*** calendar.php	23 Jan 2004 12:39:04 -0000	1.31.2.1
--- calendar.php	23 Jan 2004 21:16:16 -0000	1.31.2.2
***************
*** 9,13 ****
  // | Geeklog calendar.                                                         |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2003 by the following authors:                         |
  // |                                                                           |
  // | Authors: Tony Bibbs        - tony at tonybibbs.com                           |
--- 9,13 ----
  // | Geeklog calendar.                                                         |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2004 by the following authors:                         |
  // |                                                                           |
  // | Authors: Tony Bibbs        - tony at tonybibbs.com                           |
***************
*** 295,299 ****
  
  // Set mode back to master if user refreshes screen after their session expires
! if (empty($_USER['uid']) AND $mode == 'personal') {
      $mode = '';
  }
--- 295,299 ----
  
  // Set mode back to master if user refreshes screen after their session expires
! if (($_USER['uid'] <= 1) AND $mode == 'personal') {
      $mode = '';
  }





More information about the geeklog-cvs mailing list