Skip to content

Commit

Permalink
Fix php8
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 23, 2020
1 parent 71a4410 commit 7587418
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion myaccount/styles.css.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
line-height: 20px;color: #555555;
}
input,textarea,.uneditable-input { width: 206px;}
input,textarea,.uneditable-input { width: 256px;}
textarea {height: auto;}
textarea,input[type='text'],input[type='password'],input[type='datetime'],input[type='datetime-local'],input[type='date'],input[type='month'],input[type='time'],input[type='week'],input[type='number'],input[type='email'],input[type='url'],input[type='search'],input[type='tel'],input[type='color'],.uneditable-input
{
Expand Down
2 changes: 1 addition & 1 deletion registrationlinks_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
foreach($extrafields->attributes[$object->table_element]['label'] as $key => $val)
{
if (! empty($extrafields->attributes[$object->table_element]['list'][$key]))
$arrayfields["ef.".$key]=array('label'=>$extrafields->attributes[$object->table_element]['label'][$key], 'checked'=>(($extrafields->attributes[$object->table_element]['list'][$key]<0)?0:1), 'position'=>$extrafields->attributes[$object->table_element]['pos'][$key], 'enabled'=>(abs($extrafields->attributes[$object->table_element]['list'][$key])!=3 && $extrafields->attributes[$object->table_element]['perms'][$key]));
$arrayfields["ef.".$key]=array('label'=>$extrafields->attributes[$object->table_element]['label'][$key], 'checked'=>(($extrafields->attributes[$object->table_element]['list'][$key]<0)?0:1), 'position'=>$extrafields->attributes[$object->table_element]['pos'][$key], 'enabled'=>(abs((int) $extrafields->attributes[$object->table_element]['list'][$key])!=3 && $extrafields->attributes[$object->table_element]['perms'][$key]));
}
}
$object->fields = dol_sort_array($object->fields, 'position');
Expand Down

0 comments on commit 7587418

Please sign in to comment.