mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix for mssql or ODBC support.
This commit is contained in:
parent
78950a92bf
commit
3e3cf46972
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user