lib/calcms: remove comments and shorten expressions

This commit is contained in:
Milan
2024-04-24 23:20:20 +02:00
parent 6436822ec5
commit df0982c0a6
39 changed files with 252 additions and 366 deletions

View File

@@ -187,7 +187,7 @@ sub next_id ($$){
my $query = qq{
select max(id) id
from $table
where 1
where 1
};
my $results = get( $dbh, $query );
return $results->[0]->{id} + 1;
@@ -200,7 +200,7 @@ sub get_max_id($$) {
my $query = qq{
select max(id) id
from $table
where 1
where 1
};
my $results = get( $dbh, $query );
return $results->[0]->{id};