fix for create()

This commit is contained in:
skeeter 2001-03-21 01:00:56 +00:00
parent 65bcf832a4
commit 7aefe02121

View File

@ -187,7 +187,7 @@
}
$this->db->query("SELECT count(*) FROM phpgw_accounts WHERE account_lid='".$account_lid."'",__LINE__,__FILE__);
return $this->db->num_rows() > 0;
return $this->db->f(0) > 0;
}
function create($account_type, $account_lid, $account_pwd, $account_firstname, $account_lastname, $account_status)