core: use subscription non hierarchical uri in notification.

Signed-off-by: BOLLE Sebastien <sebastien.bolle@orange.com>
Signed-off-by: BONNARDEL Gregory <gbonnardel.ext@orange.com>
diff --git a/org.eclipse.om2m.core/src/main/java/org/eclipse/om2m/core/notifier/Notifier.java b/org.eclipse.om2m.core/src/main/java/org/eclipse/om2m/core/notifier/Notifier.java
index dfb319e..e20b7ba 100644
--- a/org.eclipse.om2m.core/src/main/java/org/eclipse/om2m/core/notifier/Notifier.java
+++ b/org.eclipse.om2m.core/src/main/java/org/eclipse/om2m/core/notifier/Notifier.java
@@ -261,7 +261,7 @@
 				notification.setSubscriptionDeletion(false);

 			}

 

-			notification.setSubscriptionReference(sub.getHierarchicalURI());

+			notification.setSubscriptionReference(sub.getResourceID());

 

 			// Get the representation of the content

 			Resource serializableResource;