[geeklog-cvs] geeklog-1.3/system lib-plugins.php,1.23,1.24 lib-security.php,1.14,1.15 lib-sessions.php,1.22,1.23

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Mon Sep 1 10:43:06 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/system
In directory geeklog_prod:/tmp/cvs-serv25213/system

Modified Files:
	lib-plugins.php lib-security.php lib-sessions.php 
Log Message:
Fixed warnings


Index: lib-plugins.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/system/lib-plugins.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** lib-plugins.php	12 Aug 2003 21:10:06 -0000	1.23
--- lib-plugins.php	1 Sep 2003 14:43:04 -0000	1.24
***************
*** 406,409 ****
--- 406,412 ----
  {
      global $_TABLES;
+ 
+     $plgresults = array ();
+ 
      $result = DB_query("SELECT pi_name FROM {$_TABLES['plugins']} WHERE pi_enabled = 1");
      $nrows = DB_numRows($result);
***************
*** 423,426 ****
--- 426,430 ----
          }
      }
+ 
      return $plgresults;
  }
***************
*** 800,803 ****
--- 804,809 ----
  {
      global $_TABLES;
+ 
+     $headercode = '';
  
      $result = DB_query("SELECT pi_name FROM {$_TABLES['plugins']} WHERE pi_enabled = 1");

Index: lib-security.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/system/lib-security.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** lib-security.php	6 May 2003 15:53:21 -0000	1.14
--- lib-security.php	1 Sep 2003 14:43:04 -0000	1.15
***************
*** 441,444 ****
--- 441,446 ----
      global $_TABLES, $_USER, $_SEC_VERBOSE;
  
+     $retval = '';
+ 
      if ($_SEC_VERBOSE) {
          COM_errorLog("**********inside SEC_getUserPermissions(grp_id=$grp_id)**********",1);

Index: lib-sessions.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/system/lib-sessions.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** lib-sessions.php	22 Jun 2003 15:47:13 -0000	1.22
--- lib-sessions.php	1 Sep 2003 14:43:04 -0000	1.23
***************
*** 362,366 ****
          }
      } else {
!         return $row[uid];
      }
  }
--- 362,366 ----
          }
      } else {
!         return $row['uid'];
      }
  }





More information about the geeklog-cvs mailing list