phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.boworkorder.php, 1.1.1.8


From: nomail
Subject: [Phpgroupware-cvs] property/class.boworkorder.php, 1.1.1.8
Date: Sun, 23 May 2004 09:45:26 -0000

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

date: 2004/04/30 17:35:56;  author: sigurdne;  state: Exp;  lines: +2 -2

Log Message:
no message
=====================================================================
Index: property/class.boworkorder.php
diff -u property/class.boworkorder.php:1.1.1.7 
property/class.boworkorder.php:1.1.1.8
--- property/class.boworkorder.php:1.1.1.7      Fri Apr 30 09:52:25 2004
+++ property/class.boworkorder.php      Fri Apr 30 17:35:56 2004
@@ -311,7 +311,7 @@
                                                                                
        'start_date'=>$start_date,'end_date'=>$end_date,'allrows'=>$allrows));
                        $this->total_records = $this->so->total_records;
 
-                       $dateformat = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
+                       $dateformat = 
$GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
 
                        $this->uicols   = $this->so->uicols;
 
@@ -327,7 +327,7 @@
                {
                        $contacts               = 
CreateObject($this->currentapp.'_contacts');
                        $workorder                                              
= $this->so->read_single($workorder_id);
-                       $dateformat                                             
= $GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
+                       $dateformat                                             
= $GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
                        $workorder['start_date']                = 
$this->bocommon->show_date($workorder['start_date'],$dateformat);
                        $workorder['end_date']                  = 
$this->bocommon->show_date($workorder['end_date'],$dateformat);
                        $vendor                                                 
= 
$contacts->read_single_entry((int)$workorder['vendor_id'],array('org_name'=>'org_name','email'=>'email'));




reply via email to

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