Fix phpcs
This commit is contained in:
parent
dbb90914bc
commit
e60fff39d9
@ -1364,8 +1364,9 @@ else
|
|||||||
print '<table class="nobordernopadding" width="100%"><tr><td>';
|
print '<table class="nobordernopadding" width="100%"><tr><td>';
|
||||||
print $form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0);
|
print $form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if ($usercancreate && $action != 'editmulticurrencycode' && ! empty($object->brouillon))
|
if ($usercancreate && $action != 'editmulticurrencycode' && ! empty($object->brouillon)) {
|
||||||
print '<td class="right"><a class="editfielda" href="' . $_SERVER["PHP_SELF"] . '?action=editmulticurrencycode&id=' . $object->id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . '</a></td>';
|
print '<td class="right"><a class="editfielda" href="' . $_SERVER["PHP_SELF"] . '?action=editmulticurrencycode&id=' . $object->id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . '</a></td>';
|
||||||
|
}
|
||||||
print '</tr></table>';
|
print '</tr></table>';
|
||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
$htmlname = (($usercancreate && $action == 'editmulticurrencycode')?'multicurrency_code':'none');
|
$htmlname = (($usercancreate && $action == 'editmulticurrencycode')?'multicurrency_code':'none');
|
||||||
|
|||||||
@ -881,8 +881,10 @@ function show_ticket_messaging($conf, $langs, $db, $filterobj, $objcon = '', $no
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var $object ActionComm
|
* getTicketActionCommEcmList
|
||||||
* @return array
|
*
|
||||||
|
* @param ActionComm $object
|
||||||
|
* @return array Array of documents in index table
|
||||||
*/
|
*/
|
||||||
function getTicketActionCommEcmList($object)
|
function getTicketActionCommEcmList($object)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2093,7 +2093,6 @@ class Product extends CommonObject
|
|||||||
|
|
||||||
$resql = $this->db->query($sql);
|
$resql = $this->db->query($sql);
|
||||||
if ($resql) {
|
if ($resql) {
|
||||||
|
|
||||||
unset($this->oldcopy);
|
unset($this->oldcopy);
|
||||||
|
|
||||||
if ($this->db->num_rows($resql) > 0) {
|
if ($this->db->num_rows($resql) > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user