Argument "whatev_strings" isn't numeric in numeric eq (==) at ...
A couple places that use == to compare strings. Numbers are == to
each other, but strings are eq to each other.
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
$e->xact_begin;
if (
- $bresv->target_resource_type->catalog_item == "t" &&
+ $bresv->target_resource_type->catalog_item eq "t" &&
$bresv->current_resource
) {
$logger->info("result of no-op checkin (upon cxl bresv) is " .
my( $self, $client, $id ) = @_;
return undef unless defined $id;
- if(ref($id) and ref($id) == 'ARRAY') {
+ if(ref($id) and ref($id) eq 'ARRAY') {
return _records_to_mods( @$id );
}
my $mods_list = _records_to_mods( $id );