mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
small bug fix: support group missing brackets at end
--HG-- branch : Gsoc14-ryzomAppImprovements
This commit is contained in:
parent
ac980adcc7
commit
5fd2615f0e
1 changed files with 3 additions and 3 deletions
|
@ -305,7 +305,7 @@ class Support_Group{
|
|||
*/
|
||||
public function create() {
|
||||
$dbl = new DBLayer("lib");
|
||||
$dbl->insert("support_group", Array('Name' => $this->getName(), 'Tag' => $this->getTag(), 'GroupEmail' => $this->getGroupEmail(), 'IMAP_MailServer' => $this->getIMAP_MailServer(), 'IMAP_Username' => $this->getIMAP_Username(), 'IMAP_Password' => $this->getIMAP_Password());
|
||||
$dbl->insert("support_group", Array('Name' => $this->getName(), 'Tag' => $this->getTag(), 'GroupEmail' => $this->getGroupEmail(), 'IMAP_MailServer' => $this->getIMAP_MailServer(), 'IMAP_Username' => $this->getIMAP_Username(), 'IMAP_Password' => $this->getIMAP_Password()));
|
||||
}
|
||||
|
||||
|
||||
|
@ -327,7 +327,7 @@ class Support_Group{
|
|||
*/
|
||||
public function update(){
|
||||
$dbl = new DBLayer("lib");
|
||||
$dbl->update("`support_group`", Array('Name' => $this->getName(), 'Tag' => $this->getTag(), 'GroupEmail' => $this->getGroupEmail(), 'IMAP_MailServer' => $this->getIMAP_MailServer(), 'IMAP_Username' => $this->getIMAP_Username(), 'IMAP_password' => $this->getIMAP_Password(), "`SGroupId` = $this->getSGroupId()");
|
||||
$dbl->update("`support_group`", Array('Name' => $this->getName(), 'Tag' => $this->getTag(), 'GroupEmail' => $this->getGroupEmail(), 'IMAP_MailServer' => $this->getIMAP_MailServer(), 'IMAP_Username' => $this->getIMAP_Username(), 'IMAP_password' => $this->getIMAP_Password(), "`SGroupId` = $this->getSGroupId()"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -337,7 +337,7 @@ class Support_Group{
|
|||
*/
|
||||
public function delete(){
|
||||
$dbl = new DBLayer("lib");
|
||||
$dbl->delete("`support_group`", Array('id' => $this->getSGroupId(), "`SGroupId` = :id");
|
||||
$dbl->delete("`support_group`", Array('id' => $this->getSGroupId(), "`SGroupId` = :id"));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////Getters////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue