Download & Extend

Node published after inline_register even if not published by default

Project:Inline Registration
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

One of my content types is not published by default. If I create this node type with inline_registration the ['status'] field is unset so that the user will be created with default values. But If this field is unset the following node_save will asume that the node should be published and will not save it as unpublished.
This patch will save the value of the ['status'] field before the call of unset and will reset the form after creating the user.

AttachmentSize
form_status.patch774 bytes

Comments

#1

Status:needs review» fixed

#2

Status:fixed» closed (fixed)