In line 703 in the nodeaccess.module, the line reads
'#default_value' => $form_values['keys'],
I changed it to
'#default_value' => isset($form_values['keys']) ? $form_values['keys'] : '',
And this removed the error message that appeared when I was in the Grant tab.

Comments

tobbera’s picture

This works.

vlad.pavlovic’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new447 bytes

Thank you jmart, that will work.

I have rolled this into (the attached) patch, will push to dev later today (along with some other fixes).

vlad.pavlovic’s picture

Status: Reviewed & tested by the community » Fixed

Fix pushed to dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.