Closed (fixed)
Project:
Smileys
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2009 at 19:18 UTC
Updated:
8 Jun 2009 at 21:50 UTC
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
Comment #1
Gurpartap Singh commentedhttp://cvs.drupal.org/viewvc.py/drupal/contributions/modules/smileys/smi...
Comment #2
webchickRe-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.
Comment #3
Gurpartap Singh commentedhttp://cvs.drupal.org/viewvc.py/drupal/contributions/modules/smileys/smi...