user can't add links when there is no previous
Badger - May 27, 2009 - 07:54
| Project: | userlink |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
function userlink_page_user()
does a $output = t("@name has not created any userlinks.", array('@name' => $name)); in the end, thus preventing any previously added content to be replaced.
A dot is missing in front of the equals sign? It seems to work if I add one anyway. . .
and....
The function userlink_name_from_uid() doesn't seem to return any values. . .

#1
The dot in that statement isn't going to make a difference because $output should be empty when there are no rows.
userlink_name_from_uid()should work properly if it's given a valid uid.Do you have any taxonomy configured on your site?