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(){
|
public function update(){
|
||||||
$dbl = new DBLayer("lib");
|
$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
|
* @param $email the email address
|
||||||
* @return true or false
|
* @return true or false
|
||||||
*/
|
*/
|
||||||
public function validEmail( $email ){
|
public static function validEmail( $email ){
|
||||||
$isValid = true;
|
$isValid = true;
|
||||||
$atIndex = strrpos( $email, "@" );
|
$atIndex = strrpos( $email, "@" );
|
||||||
if ( is_bool( $atIndex ) && !$atIndex ){
|
if ( is_bool( $atIndex ) && !$atIndex ){
|
||||||
|
|
Loading…
Reference in a new issue