phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/setup tables_update.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] phpgwapi/setup tables_update.inc.php
Date: Tue, 27 Feb 2007 12:16:05 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Changes by:     Sigurd Nes <sigurdne>   07/02/27 12:16:05

Modified files:
        setup          : tables_update.inc.php 

Log message:
        Just in case there are 'null' values

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/setup/tables_update.inc.php?cvsroot=phpgwapi&r1=1.104&r2=1.105

Patches:
Index: tables_update.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -b -r1.104 -r1.105
--- tables_update.inc.php       4 Jan 2007 12:10:01 -0000       1.104
+++ tables_update.inc.php       27 Feb 2007 12:16:05 -0000      1.105
@@ -5,7 +5,7 @@
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package phpgwapi
        * @subpackage setup
-       * @version $Id: tables_update.inc.php,v 1.104 2007/01/04 12:10:01 
skwashd Exp $
+       * @version $Id: tables_update.inc.php,v 1.105 2007/02/27 12:16:05 
sigurdne Exp $
        * @internal $Source: 
/sources/phpgwapi/phpgwapi/setup/tables_update.inc.php,v $
        */
 
@@ -1541,6 +1541,7 @@
        {
                $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_begin();
 
+               $GLOBALS['phpgw_setup']->oProc->query("UPDATE phpgw_acl set 
acl_type = 0 WHERE acl_type is NULL");
                
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_acl','acl_type',array(
                        'type' => 'int',
                        'precision' => '2',




reply via email to

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