summaryrefslogtreecommitdiff
path: root/modules/system/system.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r--modules/system/system.api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 33f02b3c6..0ce9f5d9b 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -213,7 +213,7 @@ function hook_entity_info_alter(&$entity_info) {
*/
function hook_entity_load($entities, $type) {
foreach ($entities as $entity) {
- $entity->foo = mymodule_add_something($entity, $entity_type);
+ $entity->foo = mymodule_add_something($entity, $type);
}
}