Fixing style errors.
This commit is contained in:
parent
2d3dd9ed3c
commit
bc32d684a4
@ -476,7 +476,7 @@ else
|
|||||||
$object = new Contact($db);
|
$object = new Contact($db);
|
||||||
$res=$object->fetch($id, $user);
|
$res=$object->fetch($id, $user);
|
||||||
if ($res<0) {
|
if ($res<0) {
|
||||||
setEventMessage($this->error,'errors');
|
setEventMessage($this->error, 'errors');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show tabs
|
// Show tabs
|
||||||
@ -1054,7 +1054,7 @@ else
|
|||||||
if (!empty($object->socid)) {
|
if (!empty($object->socid)) {
|
||||||
print '<tr><td>' . $langs->trans("Role") . '</td>';
|
print '<tr><td>' . $langs->trans("Role") . '</td>';
|
||||||
print '<td colspan="3">';
|
print '<td colspan="3">';
|
||||||
print $formcompany->showRoles("roles", $object, 'edit' ,$object->roles);
|
print $formcompany->showRoles("roles", $object, 'edit', $object->roles);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1610,5 +1610,4 @@ class Contact extends CommonObject
|
|||||||
return $error*-1;
|
return $error*-1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1142,7 +1142,7 @@ function show_contacts($conf, $langs, $db, $object, $backtopage = '')
|
|||||||
|
|
||||||
$resultRole=$contactstatic->fetchRoles();
|
$resultRole=$contactstatic->fetchRoles();
|
||||||
if ($resultRole<0) {
|
if ($resultRole<0) {
|
||||||
setEventMessages(null, $contactstatic->errors,'errors');
|
setEventMessages(null, $contactstatic->errors, 'errors');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_array($contactstatic->array_options))
|
if (is_array($contactstatic->array_options))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user