http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...

The parameters should be passed as $entity, $type, but sparql_registry passes as $type, $entity

Comments

barbi’s picture

subscribe

Anonymous’s picture

Issue tags: +Novice

This is an easy patch, so tagging with Novice.

barbi’s picture

Assigned: Unassigned » barbi
barbi’s picture

Status: Active » Needs review
StatusFileSize
new1.31 KB

1. Changed the order of params in hook_entity_insert
2. Turns out the order was wrong in hook_entity_update too, Fixed this.
http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...
3. Replaced hard spaces with soft spaces.

scor’s picture

From looking at the patch, it looks good. I haven't tried it though.

scor’s picture

Issue tags: +RDF, +sprint

tagging