Fix for mssql or ODBC support.

This commit is contained in:
skeeter 2002-04-14 14:51:25 +00:00
parent 78950a92bf
commit 3e3cf46972

View File

@ -95,9 +95,9 @@
function app_order() function app_order()
{ {
$this->db->query('SELECT (MAX(app_order)+1) AS max FROM phpgw_applications',__LINE__,__FILE__); $this->db->query('SELECT (MAX(app_order)+1) FROM phpgw_applications',__LINE__,__FILE__);
$this->db->next_record(); $this->db->next_record();
return $this->db->f('max'); return $this->db->f(0);
} }
function delete($app_name) function delete($app_name)