Skip to content

Fix: uid is lost when user edit own article#175

Open
walkero-gr wants to merge 1 commit intoXoopsModules25x:masterfrom
walkero-gr:fix/uid-is-lost-when-edit
Open

Fix: uid is lost when user edit own article#175
walkero-gr wants to merge 1 commit intoXoopsModules25x:masterfrom
walkero-gr:fix/uid-is-lost-when-edit

Conversation

@walkero-gr
Copy link

This is a fix for the situation where the Users' editing their articles is enabled but the "Poster name" field is not available. In this situation, the form doesn't have the uid, and when the users edit their articles, the author uid changes to zero, which is the anonymous.

As you can understand, having the "Poster name" field available to the non-admins users is a problem, which is fixed by this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants