$id = check_row($url,$id);
next unless defined $id;
- $id =~ s,/.*$,,;
+# NB 27.06.17 $id =~ s,/.*$,,;
eval {
$response = $Api->rawCall(path=>$url.'/'.$id,method=>($method||'GET'),body=>{});
};
}
if (!defined $val) {
-# NB 09.02.17 no use of COALESCE $val = 'NULL';
$val = "''";
} elsif($fd->{sql} =~ /BOOLEAN/) {
# Scalar
return undef if $url eq '/ip' and $id !~ /\d+\./;
- $id =~ s,/.*$,,;
+
+# NB 27.06.17 $id =~ s,/.*$,,;
+ $id =~ s,/32$,,;
+
return $id;
}