Lines 90-100
if ( $op eq 'add_form' ) {
Link Here
|
90 |
push @messages, { type => 'error', code => 'error_on_insert' }; |
90 |
push @messages, { type => 'error', code => 'error_on_insert' }; |
91 |
} else { |
91 |
} else { |
92 |
push @messages, { type => 'message', code => 'success_on_insert' }; |
92 |
push @messages, { type => 'message', code => 'success_on_insert' }; |
93 |
$op = $referer; |
93 |
$op = 'view'; |
94 |
} |
94 |
} |
95 |
} else { |
95 |
} else { |
96 |
push @messages, { type => 'error', code => 'unauthorized_on_insert' }; |
96 |
push @messages, { type => 'error', code => 'unauthorized_on_insert' }; |
97 |
$op = $referer; |
97 |
$op = 'list'; |
98 |
} |
98 |
} |
99 |
} elsif ( $op eq 'edit' ) { |
99 |
} elsif ( $op eq 'edit' ) { |
100 |
$shelfnumber = $query->param('shelfnumber'); |
100 |
$shelfnumber = $query->param('shelfnumber'); |
101 |
- |
|
|