Hi,
I encountered PHP notices when the phone field was empty. I tried to set the default value to NULL or empty string, but the error still showed up.
Undefined index: number File /sites/all/modules/cck_phone/cck_phone.module, line 497(file: /sites/all/modules/cck_phone/cck_phone.module, line 497)
I did the following patch. I'm not sure if that's the best solution but worked for me.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | migrate_extras-cck_phone_defaults-1910542-1.patch | 717 bytes | rooby |
| migrate_extras_cck_phone_php_notice.patch | 856 bytes | Luxian |
Comments
Comment #1
rooby commentedHere is a new patch, similar to the one in the original post, but it also sets a default value for the extension as this same problem happens with it.
Comment #1.0
rooby commentedrephrase