[Dancer-users] Plugin::SimpleCRUD: primary key missing from edit form
WK
wanradt at gmail.com
Thu Oct 20 15:49:19 CEST 2011
2011/10/20 WK <wanradt at gmail.com>:
> It should begin:
> if (exists params->{id}) {
I changed it to:
Line 462:
if (exists params->{id}) {
# We're editing an existing record
$success = database->quick_update($table_name,
{ $key_column => params->{id} }, \%params);
$verb = 'update';
} else {
Works for me. Sorry for messing here solo!
--
Wbr,
Kõike hääd,
G
More information about the Dancer-users
mailing list