phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] admin/inc class.solog.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] admin/inc class.solog.inc.php
Date: Mon, 18 Sep 2006 08:23:40 +0000

CVSROOT:        /sources/phpgroupware
Module name:    admin
Changes by:     Sigurd Nes <sigurdne>   06/09/18 08:23:39

Modified files:
        inc            : class.solog.inc.php 

Log message:
        Altered metadata for adodb

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/admin/inc/class.solog.inc.php?cvsroot=phpgroupware&r1=1.9&r2=1.10

Patches:
Index: class.solog.inc.php
===================================================================
RCS file: /sources/phpgroupware/admin/inc/class.solog.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- class.solog.inc.php 14 Feb 2006 08:48:21 -0000      1.9
+++ class.solog.inc.php 18 Sep 2006 08:23:39 -0000      1.10
@@ -12,7 +12,7 @@
        *  option) any later version.                                           
   *
        
\**************************************************************************/
 
-       /* $Id: class.solog.inc.php,v 1.9 2006/02/14 08:48:21 skwashd Exp $ */
+       /* $Id: class.solog.inc.php,v 1.10 2006/09/18 08:23:39 sigurdne Exp $ */
 
        class solog
        {
@@ -39,18 +39,18 @@
                                $this->error_cols = array();
 
                                /* fields from phpgw_log table */
-                               $clist = $this->db->metadata('phpgw_log');
+                               $clist = 
array_keys($this->db->metadata('phpgw_log'));
                                for ($i=0; $i<count($clist); $i++)
                                {
-                                       $name =  $clist[$i]['name'];
+                                       $name =  $clist[$i];
                                        $this->error_cols[$name] = array();
                                }
 
                                /* fields from phpgw_log_msg table */
-                               $clist = $this->db->metadata('phpgw_log_msg');
+                               $clist = 
array_keys($this->db->metadata('phpgw_log_msg'));
                                for ($i=0; $i<count($clist); $i++)
                                {
-                                       $name =  $clist[$i]['name'];
+                                       $name =  $clist[$i];
                                        $this->error_cols[$name] = array();
                                }
                        }
@@ -65,10 +65,10 @@
                                $this->error_cols_e = $this->get_error_cols();
 
                                /* Enhance with Columns for phpgw_accounts */
-                               $clist = $this->db->metadata('phpgw_accounts');
+                               $clist = 
array_keys(($this->db->metadata('phpgw_accounts'));
                                for ($i=0; $i<count($clist); $i++)
                                {
-                                       $name =  $clist[$i]['name'];
+                                       $name =  $clist[$i];
                                        $this->error_cols_e[$name] = array();
                                }
                        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]