[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.74.2.5,1
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.74.2.5,1.74.2.6 |
Date: |
Sat, 13 Apr 2002 23:27:45 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv9524/phpgwapi/inc
Modified Files:
Tag: Version-0_9_14-branch
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.74.2.5
retrieving revision 1.74.2.6
diff -C2 -r1.74.2.5 -r1.74.2.6
*** class.categories.inc.php 4 Apr 2002 20:51:53 -0000 1.74.2.5
--- class.categories.inc.php 14 Apr 2002 03:27:42 -0000 1.74.2.6
***************
*** 494,500 ****
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__);
--- 494,500 ----
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.74.2.5,1.74.2.6,
Mark A Peters <address@hidden> <=