Monday, May 11, 2009

variable_get in drupal

In drupal 5.x dont use variable_get with one argument this will cause the watchdog error. High performance site will be affected.

Use:
variable_get($variable,'0'); if you no need of second argument

R.Navaneethakrishnan

No comments:

Post a Comment