fix phan
This commit is contained in:
parent
0ec7241b2d
commit
17358bb6e4
3 changed files with 3 additions and 5 deletions
|
|
@ -167,7 +167,7 @@ print '</form><br><br>';
|
|||
if (getDolGlobalString('CLICKTODIAL_URL')) {
|
||||
$user->fetch_clicktodial();
|
||||
|
||||
$phonefortest = $mysoc->phone;
|
||||
$phonefortest = $mysoc->phone ?? '';
|
||||
if (GETPOST('phonefortest')) {
|
||||
$phonefortest = GETPOST('phonefortest');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -623,7 +623,7 @@ class Contact extends CommonObject
|
|||
$this->name_alias = trim($this->name_alias);
|
||||
$this->lastname = trim($this->lastname) ? trim($this->lastname) : trim($this->lastname);
|
||||
$this->firstname = trim($this->firstname);
|
||||
$this->email = trim($this->email);
|
||||
$this->email = trim($this->email ?? '');
|
||||
$this->phone_pro = trim($this->phone_pro);
|
||||
$this->phone_perso = trim($this->phone_perso);
|
||||
$this->phone_mobile = trim($this->phone_mobile);
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
/* Copyright (C) 2023-2024 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2023-2024 Lionel Vessiller <lvessiller@easya.solutions>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2024-2025 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -158,8 +158,6 @@ class WebPortalMember extends Adherent
|
|||
//public $phone;
|
||||
//public $phone_perso;
|
||||
//public $phone_mobile;
|
||||
//public $email;
|
||||
//public $url;
|
||||
//public $socialnetworks;
|
||||
//public $login;
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue