fix #185
This commit is contained in:
parent
0004241718
commit
0dc2509c0e
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