Easy fix,

Missing translation function t() on line 78. Change to this : 'access' => user_access(t('maintain %buddy list', buddylist_translation()))

The whole line:

$links[] = array('path' => 'buddy/add', 'title' => t('add to buddylist'), 'access' => user_access(t('maintain %buddy list', buddylist_translation())), 'callback' => 'buddylist_addbuddy', 'callback arguments' => array(arg(2)), 'type' => MENU_CALLBACK);

Cheers.

Nathan.

Comments

robertdouglass’s picture

Status: Fixed » Needs review

changing the status. It only gets to be fixed if If I put the code in the repository =) Thanks for the code. Anything more complicated than this please use a patch, though.

robertdouglass’s picture

Status: Needs review » Fixed

fixed. Thanks much.

BoarK’s picture

Robert,

Absolute newbie here, sorry. :)

Nathan.

robertdouglass’s picture

Well, keep the bug reports (and fixes), they're much appreciated. =)

Anonymous’s picture

Status: Fixed » Closed (fixed)