Fixed an issue that raised a warning in Drupal 7.