Browse Source

re-indent + little bugfix : '' instead of undef.

3.0.x
toins 17 years ago
parent
commit
55120ddf4e
  1. 6
      admin/itemtypes.pl

6
admin/itemtypes.pl

@ -205,11 +205,7 @@ if ($op eq 'add_form') {
$input->param('renewalsallowed'),
$input->param('rentalcharge'),
$input->param('notforloan') ? 1 : 0,
$input->param('image') eq 'removeImage'
? undef
: $input->param('image') eq 'remoteImage'
? $input->param('remoteImage')
: $input->param('image'),
$input->param('image') eq 'removeImage' ? '' : $input->param('image') eq 'remoteImage' ? $input->param('remoteImage') : $input->param('image'),
$input->param('summary'),
);
}

Loading…
Cancel
Save