mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 17:26:16 +00:00
fix #185
This commit is contained in:
parent
b4afdda535
commit
192bc8a076
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -202,7 +202,7 @@ class Users{
|
|||
* @param $email the email address
|
||||
* @return true or false
|
||||
*/
|
||||
public function validEmail( $email ){
|
||||
public static function validEmail( $email ){
|
||||
$isValid = true;
|
||||
$atIndex = strrpos( $email, "@" );
|
||||
if ( is_bool( $atIndex ) && !$atIndex ){
|
||||
|
|
Loading…
Reference in a new issue