summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/rdf2events7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/rdf2events b/bin/rdf2events
index c8ed4da..a66b517 100755
--- a/bin/rdf2events
+++ b/bin/rdf2events
@@ -194,12 +194,11 @@ sub thingdescribe {
}
sub objectdescribe {
- my ($title, $thing, $uri) = @_;
+ my ($title, $thing, $urinode) = @_;
return undef unless ($thing);
- return thingdescribe( $title, $thing->literal_value, undef )
- unless ($uri);
- return thingdescribe( $title, $thing->literal_value, node2uri($uri) );
+
+ return thingdescribe( $title, $thing->literal_value, node2uri($urinode) );
}
sub node2uri {