diff options
Diffstat (limited to 'src/engine/events/SetMetadata.cpp')
-rw-r--r-- | src/engine/events/SetMetadata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/events/SetMetadata.cpp b/src/engine/events/SetMetadata.cpp index a44261d4..6b0e5832 100644 --- a/src/engine/events/SetMetadata.cpp +++ b/src/engine/events/SetMetadata.cpp @@ -99,7 +99,7 @@ SetMetadata::pre_process() { typedef Properties::const_iterator iterator; - bool is_graph_object = (_subject.scheme() == Path::scheme && Path::is_valid(_subject.str())); + const bool is_graph_object = Path::is_path(_subject); _object = is_graph_object ? _engine.engine_store()->find_object(Path(_subject.str())) |