When you submit field settings form Drupal displays error:
warning: mb_strlen() expects parameter 1 to be string, array given in [path]\includes\unicode.inc on line 370.
It is caused by form field #type property being set to: 'password_confirm' (line 83). It should be changed to 'password' I believe. After this change module seems to work normally. It was probably also causing duplicate rendering of item label on node creating form.
Also in line 95 strlen() should be changed to drupal_strlen().
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| password.diff | 988 bytes | iwankgb |
Comments
Comment #1
iwankgb commentedSorry for duplicating bug report -> http://drupal.org/node/213710
Comment #2
buddaThe patch got rid of the PHP error for me.
Comment #3
jooel commentedThis did not work for me. The result i got was that the pw confirm field disappeared (and the module seemed to work without it).