Fix warning
This commit is contained in:
parent
b11a6a1741
commit
b4702aee24
@ -465,9 +465,9 @@ class vCard
|
||||
$this->setTitle($object->job);
|
||||
}
|
||||
|
||||
// For user, type=home
|
||||
// For user, $object->url is not defined
|
||||
// For contact, $object->url is not defined
|
||||
if ($object->url) {
|
||||
if (!empty($object->url)) {
|
||||
$this->setURL($object->url, "");
|
||||
}
|
||||
|
||||
|
||||
@ -2464,6 +2464,7 @@ if ($action == 'create' || $action == 'adduserldap') {
|
||||
|
||||
// Country
|
||||
print '<tr><td>'.$form->editfieldkey('Country', 'selectcounty_id', '', $object, 0).'</td><td>';
|
||||
print img_picto('', 'country', 'class="pictofixedwidth"');
|
||||
if ($caneditfield) {
|
||||
print $form->select_country((GETPOST('country_id') != '' ?GETPOST('country_id') : $object->country_id), 'country_id');
|
||||
if ($user->admin) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user