phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: projects/inc class.soprojecthours.inc.php,1.8.4


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: projects/inc class.soprojecthours.inc.php,1.8.4.5,1.8.4.6
Date: Thu, 12 Jun 2003 17:39:22 -0400

Update of /cvsroot/phpgroupware/projects/inc
In directory subversions:/tmp/cvs-serv30561/inc

Modified Files:
      Tag: Version-0_9_16-branch
        class.soprojecthours.inc.php 
Log Message:
update

Index: class.soprojecthours.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/inc/class.soprojecthours.inc.php,v
retrieving revision 1.8.4.5
retrieving revision 1.8.4.6
diff -C2 -r1.8.4.5 -r1.8.4.6
*** class.soprojecthours.inc.php        12 Jun 2003 21:28:21 -0000      1.8.4.5
--- class.soprojecthours.inc.php        12 Jun 2003 21:39:20 -0000      1.8.4.6
***************
*** 165,172 ****
                function get_time_used($project_id)
                {
!                       $this->db->query('SELECT SUM(minutes) as utime from 
phpgw_p_hours where project_id=' . intval($project_id),__LINE__,__FILE__);
                        if ($this->db->next_record())
                        {
-                               //echo $this->db->f('utime');
                                return $this->db->f('utime');
                        }
--- 165,172 ----
                function get_time_used($project_id)
                {
!                       $this->db->query('SELECT SUM(minutes) as utime from 
phpgw_p_hours where (project_id=' . intval($project_id) . ' OR pro_parent='
!                                                       . intval($project_id) . 
')',__LINE__,__FILE__);
                        if ($this->db->next_record())
                        {
                                return $this->db->f('utime');
                        }





reply via email to

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