There is a bug in _link_sanitize() where if $item['title'] is not set it throws a PHP notice as it should. Attached is a simple patch that should prevent this.
| Comment | File | Size | Author |
|---|---|---|---|
| empty_title.patch | 623 bytes | Anonymous (not verified) |
There is a bug in _link_sanitize() where if $item['title'] is not set it throws a PHP notice as it should. Attached is a simple patch that should prevent this.
| Comment | File | Size | Author |
|---|---|---|---|
| empty_title.patch | 623 bytes | Anonymous (not verified) |
Comments
Comment #1
p4trizio commentedHello,
I just applied your patch... same PHP notice.
Did you try it yourself?
Comment #2
Anonymous (not verified) commentedYes I've tested this. Where exactly are you seeing this notice?
Comment #3
becw commentedThis is a duplicate of http://drupal.org/node/948628 -- which also has a more comprehensive patch. I'm copying your issue title, though :)