mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
postgres compatibility for user defined accounts
This commit is contained in:
parent
0ff383520d
commit
850173aae5
@ -42,7 +42,7 @@
|
||||
$where,__LINE__,__FILE__);
|
||||
|
||||
while(($row = $this->db->row(true,'fm_'))) {
|
||||
foreach(array('ic_validatecertificate','ic_enable_sieve','og_smtpauth') as $name)
|
||||
foreach(array('active','ic_validatecertificate','ic_enable_sieve','og_smtpauth') as $name)
|
||||
{
|
||||
$row[$name] = $this->db->from_bool($row[$name]);
|
||||
}
|
||||
@ -139,7 +139,7 @@
|
||||
{
|
||||
|
||||
$data = array(
|
||||
'fm_active' => 0,
|
||||
'fm_active' => false,
|
||||
'fm_realname' => $_identity->realName,
|
||||
'fm_organization' => $_identity->organization,
|
||||
'fm_emailaddress' => $_identity->emailAddress,
|
||||
@ -203,7 +203,7 @@
|
||||
function setProfileActive($_accountID, $_status)
|
||||
{
|
||||
$this->db->update($this->accounts_table,array(
|
||||
'fm_active' => $_status,
|
||||
'fm_active' => (bool)$_status,
|
||||
),array(
|
||||
'fm_owner' => $_accountID,
|
||||
),__LINE__,__FILE__);
|
||||
|
Loading…
Reference in New Issue
Block a user