use SL::Common;
use SL::DBUtils;
+use strict;
+
sub save {
$main::lxdebug->enter_sub();
my $dbh = $form->get_standard_dbh($myconfig);
- my $ref = selectfirst_hashref_query($form, $dbh, qq|SELECT * FROM notes WHERE id = ?|, conv_i($param{id}));
+ my $ref = selectfirst_hashref_query($form, $dbh, qq|SELECT * FROM notes WHERE id = ?|, conv_i($params{id}));
$main::lxdebug->leave_sub();
$dbh->commit() unless ($params{dbh});
$main::lxdebug->leave_sub();
-
- return $ref;
}
1;