Sorry, but I don't get what's the bug?

You should report an issue against drupal is it's really a bug.

Line 43-44:

    $path = drupal_get_path('module', 'addfofavorites');
    $path .= "modules/addtofavorites"; //coz a bug in drupal_get_pah

Comments

thierry_gd’s picture

Sorry there's no bug : I wrote addfofavorites when I should have written addtofavorites that's why the function didn't work correctly

thierry_gd’s picture

Version: master » 4.7.x-1.x-dev
Status: Active » Closed (fixed)