Under PHP 5.3 I get a notice:

"notice: Undefined index: node_embedded in [...]/node_embed/node_embed.module on line 47"

I created a small pacth solving this problem, and it also fixes a coding standard problem.

Comments

pkiraly’s picture

I made a mistake. Here is a fixed version.

pkiraly’s picture

Removing trailing whitespace.

tompagabor’s picture

Status: Active » Reviewed & tested by the community

Its is worked for me. Excelent patch!

brad.bulger’s picture

Version: 6.x-1.4 » 6.x-1.5
Status: Reviewed & tested by the community » Needs review
StatusFileSize
new512 bytes

re-roll against 1.5. replaced the two tests - isset() and TRUE - with one !empty() test.

brad.bulger’s picture

StatusFileSize
new891 bytes

new patch fixes similar issue in node_embed_validate()

brad.bulger’s picture

StatusFileSize
new1.17 KB

add another similar fix - content types don't necessarily always have a body field, its absence was causing a PHP notice:

Notice: Undefined index: body in node_embed_validate() (line 150 of /path/to/node_embed/node_embed.module).

mrharolda’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

As of 22 September 2014, we no longer support the Drupal 6 version of Node Embed due to the small install base (< 15%) and more importantly: general lack of time.

If you would like to help and maintain the 6.x branch until Drupal 8 is released, please apply for co-maintainership!