Closed (fixed)
Project:
Drupal core
Component:
blog.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2005 at 04:55 UTC
Updated:
8 Oct 2005 at 19:00 UTC
On the posts displayed on the /blog page, there is no link to the user's blog. I mark this as critical because some of my users were very confused as to how to get to a user's blog. I said, "Just click the link below the post," to which they replied, "What link?" I looked myself, and, sure enough, it was missing.
The current logic is checking:
arg(0) != 'blog' && arg(1) != $user->uid
But in this case it short-circuits on the first test. The attached patch changes the AND to an OR, because what we really want is:
!(arg(0) == 'blog' && arg(1) == $user->uid)
It would be good to get this applied to both 4.6 and HEAD.
| Comment | File | Size | Author |
|---|---|---|---|
| user_blog.patch | 732 bytes | jhriggs |
Comments
Comment #1
Steven commentedCommitted to HEAD/4.6.
Comment #2
(not verified) commentedComment #3
(not verified) commentedComment #4
(not verified) commentedComment #5
(not verified) commentedComment #6
(not verified) commented