[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.80,1.81
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.80,1.81 |
Date: |
Sat, 13 Apr 2002 23:27:53 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv9536/phpgwapi/inc
Modified Files:
class.categories.inc.php
Log Message:
Fix for mssql or ODBC support.
Index: class.categories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.categories.inc.php,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -r1.80 -r1.81
*** class.categories.inc.php 4 Apr 2002 20:52:04 -0000 1.80
--- class.categories.inc.php 14 Apr 2002 03:27:50 -0000 1.81
***************
*** 496,502 ****
if (!$cat_values['parent'] || $cat_values['parent'] ==
0)
{
! $this->db->query("SELECT MAX(cat_id) AS max
FROM phpgw_categories",__LINE__,__FILE__);
$this->db->next_record();
! $max = $this->db->f('max');
$this->db->query("UPDATE phpgw_categories SET
cat_main='" . $max . "' WHERE cat_id='"
. $max . "'",__LINE__,__FILE__);
--- 496,502 ----
if (!$cat_values['parent'] || $cat_values['parent'] ==
0)
{
! $this->db->query("SELECT MAX(cat_id) FROM
phpgw_categories",__LINE__,__FILE__);
$this->db->next_record();
! $max = $this->db->f(0);
$this->db->query("UPDATE phpgw_categories SET
cat_main='" . $max . "' WHERE cat_id='"
. $max . "'",__LINE__,__FILE__);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.80,1.81,
Mark A Peters <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.74.2.5,1.74.2.6
- Next by Date:
[Phpgroupware-cvs] CVS: inv delivery.php,1.42,1.43 invoice.php,1.38,1.39
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.74.2.5,1.74.2.6
- Next by thread:
[Phpgroupware-cvs] CVS: inv delivery.php,1.42,1.43 invoice.php,1.38,1.39
- Index(es):