Commit 7633e335 authored by Leo Gordon's avatar Leo Gordon
Browse files

cosmetic: reduce the number of synonymous calls to DBI

parent d045a873
......@@ -140,7 +140,7 @@ sub count_all {
my $sth = $self->prepare($sql);
my ($count) = $sth->fetchrow();
my ($count) = $sth->fetchrow_array();
return $count;
......@@ -287,7 +287,7 @@ sub check_object_present_in_db { # return autoinc_id/undef if the table has a
my $sth = $self->prepare($sql);
my ($return_value) = $sth->fetchrow();
my ($return_value) = $sth->fetchrow_array();
return $return_value;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment