Lines 418-426
if ($prefillitem) {
Link Here
|
418 |
my $lastitemcookie = $input->cookie('LastCreatedItem'); |
418 |
my $lastitemcookie = $input->cookie('LastCreatedItem'); |
419 |
if ($lastitemcookie) { |
419 |
if ($lastitemcookie) { |
420 |
$lastitemcookie = uri_unescape($lastitemcookie); |
420 |
$lastitemcookie = uri_unescape($lastitemcookie); |
421 |
if ( thaw($lastitemcookie) ) { |
421 |
eval { |
422 |
$cookieitemrecord = thaw($lastitemcookie) ; |
422 |
if ( thaw($lastitemcookie) ) { |
423 |
$cookieitemrecord = removeFieldsForPrefill($cookieitemrecord); |
423 |
$cookieitemrecord = thaw($lastitemcookie); |
|
|
424 |
$cookieitemrecord = removeFieldsForPrefill($cookieitemrecord); |
425 |
} |
426 |
}; |
427 |
if ($@) { |
428 |
$lastitemcookie = 'undef' unless $lastitemcookie; |
429 |
warn "Storable::thaw failed to thaw LastCreatedItem-cookie. Cookie value '$lastitemcookie'. Caught error follows: '$@'"; |
424 |
} |
430 |
} |
425 |
} |
431 |
} |
426 |
} |
432 |
} |
427 |
- |
|
|