comments for all object in elgg 1.10.4: Revision

Last updated by mariano

1.open engine/lib/navigation.php

in the line 381 replace:

if ($object->canComment()) {

 

for

 

if ($object) {

 

 

2.open actions/comments/save.php

 

and delete this line: 83

add_to_river('river/annotation/generic_comment/create', 'comment', $user->guid, $entity->guid, "", 0, $annotation);

 

 

enjoy :)