--- weblinks.install 2009-04-29 15:46:43.000000000 +0100 +++ weblinks.install 2009-04-29 15:47:42.000000000 +0100 @@ -11,11 +11,11 @@ function weblinks_install() { $result = drupal_install_schema('weblinks'); - if (count($result) > 0) { + if ($result['0']['success']) { drupal_set_message(t('weblinks module installed.')); } else { - drupal_set_message(t('weblinks table creation failed. Please "uninstall" the module and retry.')); + drupal_set_message(t('Weblinks table creation failed. Un-tick the "enabled" checkbox, then uninstall the module and retry.')); } }