I am assuming that $redirect->uid is intended to be set to the user ID of the user who created the redirect.

However, $redirect->uid is always set to "0" (anonymous).

Patch is attached - we just need to add a uid value to the form.

CommentFileSizeAuthor
redirect-uid.patch436 bytesmfb

Comments

Sneakyvv’s picture

Patch works fine.

Still, it's strange this didn't work anymore. I have entries in my production database with a uid <> 0, so it must have worked at some point in the past.

pere orga’s picture

Status: Needs review » Closed (duplicate)