phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.bocommon.php, 1.1.1.11


From: nomail
Subject: [Phpgroupware-cvs] property/class.bocommon.php, 1.1.1.11
Date: Sun, 23 May 2004 05:18:37 -0000

Update of /property
Modified Files:
        Branch: 
          class.bocommon.php

date: 2004/04/29 07:10:49;  author: sigurdne;  state: Exp;  lines: +4 -5

Log Message:
db_addslashes
=====================================================================
Index: property/class.bocommon.php
diff -u property/class.bocommon.php:1.1.1.10 
property/class.bocommon.php:1.1.1.11
--- property/class.bocommon.php:1.1.1.10        Wed Apr 28 21:15:15 2004
+++ property/class.bocommon.php Thu Apr 29 07:10:49 2004
@@ -63,7 +63,7 @@
                        $this->join                     = $this->socommon->join;
                        $this->left_join        = $this->socommon->left_join;
 
-                       switch($GLOBALS['phpgw_info']['server']['db_type'])
+                       switch($GLOBALS['phpgw_data']['server']['db_type'])
                        {
                                case 'mssql':
                                        $this->dateformat               = "M d 
Y";
@@ -81,7 +81,7 @@
                                        break;
                        }
 
-       /*              if 
($GLOBALS['phpgw_info']['server']['db_type']=='mssql')
+       /*              if 
($GLOBALS['phpgw_data']['server']['db_type']=='mssql')
                        {
                                $this->dateformat               = "M d Y";
                                $this->datetimeformat   = "M d Y g:iA";
@@ -176,7 +176,7 @@
 
                function moneyformat($amount)
                {
-                       if 
($GLOBALS['phpgw_info']['server']['db_type']=='mssql')
+                       if 
($GLOBALS['phpgw_data']['server']['db_type']=='mssql')
                        {
                                $moneyformat    = 
"CONVERT(MONEY,"."'$amount'".",0)";
                        }
@@ -1648,7 +1648,6 @@
                        }
                        else
                        {
-//html_print_r($value);
                                reset($value);
                                while(list($k, $v) = each($value))
                                {




reply via email to

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