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.
| Comment | File | Size | Author |
|---|---|---|---|
| redirect-uid.patch | 436 bytes | mfb |
Comments
Comment #1
Sneakyvv commentedPatch 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.
Comment #2
pere orgaIsn't that a duplicate of #2051313: uid not stored when redirects added via Add Redirect page ?