fixes modules_exists typo.
authorDave Cohen
Mon, 18 Jul 2011 15:26:18 +0000 (08:26 -0700)
committerDave Cohen
Mon, 18 Jul 2011 15:26:18 +0000 (08:26 -0700)
fb_devel.module

index e1a536e..8a82341 100644 (file)
@@ -75,7 +75,7 @@ function fb_devel_init() {
 
   // fb_settings.inc sanity check.
   if (isset($GLOBALS['fb_init_no_settings'])) {
-    if (user_access('access administration pages') && (module_exists('fb_canvas') || modules_exists('fb_tab'))) {
+    if (user_access('access administration pages') && (module_exists('fb_canvas') || module_exists('fb_tab'))) {
       // fb_settings.php must be included for canvas or tab support.
       drupal_set_message(t('!drupal_for_facebook (fb_canvas.module) has been enabled, but fb_settings.inc is not included in settings.php.  Please read the !readme.',
                            array('!drupal_for_facebook' => l(t('Drupal for Facebook'), 'http://drupal.org/project/fb'),