I get this when I enable the module on a 6.x-dev version of Drupal which has notices turned on:

notice: Undefined variable: node_type in /Users/webchick/Sites/drubb/sites/all/modules/smileys/smileys.module on line 76.

Comments

Gurpartap Singh’s picture

webchick’s picture

Status: Fixed » Active

Re-opening, since I don't think this is quite the right fix.

There's no reason smileys code should be firing on the modules form. That entire form_alter should be placed in a conditional check to see if the form it's currently on is a node/comment form, IMO.

Gurpartap Singh’s picture

Status: Fixed » Closed (fixed)

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