phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc class.sotts.inc.php class.botts.in...


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/inc class.sotts.inc.php class.botts.in...
Date: Wed, 01 Mar 2006 17:28:46 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Branch:         
Changes by:     Sigurd Nes <address@hidden>     06/03/01 17:28:46

Modified files:
        inc            : class.sotts.inc.php class.botts.inc.php 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/inc/class.sotts.inc.php.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/inc/class.botts.inc.php.diff?tr1=1.16&tr2=1.17&r1=text&r2=text

Patches:
Index: property/inc/class.botts.inc.php
diff -u property/inc/class.botts.inc.php:1.16 
property/inc/class.botts.inc.php:1.17
--- property/inc/class.botts.inc.php:1.16       Fri Feb  3 12:05:49 2006
+++ property/inc/class.botts.inc.php    Wed Mar  1 17:28:46 2006
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage helpdesk
-       * @version $Id: class.botts.inc.php,v 1.16 2006/02/03 12:05:49 sigurdne 
Exp $
+       * @version $Id: class.botts.inc.php,v 1.17 2006/03/01 17:28:46 sigurdne 
Exp $
        */
 
        /**
@@ -477,7 +477,6 @@
                        );
 
                        $ticket['status_name'] = 
lang($status_text[$ticket['status']]);
-                       
$ticket['assignedto_name']=$GLOBALS['phpgw']->accounts->id2name($ticket['assignedto']);
                        
$ticket['user_lid']=$GLOBALS['phpgw']->accounts->id2name($ticket['user_id']);
                        
$ticket['category_name']=ucfirst($this->get_category_name($ticket['cat_id']));
 
Index: property/inc/class.sotts.inc.php
diff -u property/inc/class.sotts.inc.php:1.13 
property/inc/class.sotts.inc.php:1.14
--- property/inc/class.sotts.inc.php:1.13       Mon Jan 30 22:14:19 2006
+++ property/inc/class.sotts.inc.php    Wed Mar  1 17:28:46 2006
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage helpdesk
-       * @version $Id: class.sotts.inc.php,v 1.13 2006/01/30 22:14:19 sigurdne 
Exp $
+       * @version $Id: class.sotts.inc.php,v 1.14 2006/03/01 17:28:46 sigurdne 
Exp $
        */
 
        /**
@@ -324,6 +324,12 @@
                                $this->db->next_record();
 
                                $ticket['user_name']    = 
$this->db->f('account_firstname') . " " .$this->db->f('account_lastname') ;
+                               if ($ticket['assignedto']>0)
+                               {
+                                       $this->db->query("SELECT 
account_firstname,account_lastname FROM phpgw_accounts WHERE account_id='" . 
$ticket['assignedto'] . "'");
+                                       $this->db->next_record();
+                                       $ticket['assignedto_name']      = 
$this->db->f('account_firstname') . " " .$this->db->f('account_lastname') ;     
      
+                               }
 
                        }
 




reply via email to

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