Index: simplenews.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simplenews/simplenews.install,v
retrieving revision 1.8.2.20
diff -u -p -r1.8.2.20 simplenews.install
--- simplenews.install	3 Jan 2009 11:03:43 -0000	1.8.2.20
+++ simplenews.install	9 Jan 2009 17:43:34 -0000
@@ -236,8 +236,7 @@ function _simplenews_install_nodetype() 
  */
 function _simplenews_install_vocabulary() {
   // Create the simplenews vocabulary. If it exists, set it as the simplenews_vid.
-  $result = db_query("SELECT * FROM {vocabulary} WHERE name = '%s'", array(t('Newsletter')));
-  if ($result) {
+  if (db_result(db_query("SELECT * FROM {vocabulary} WHERE name = '%s'", t('Newsletter')))) {
     $vocabulary = db_fetch_array($result);
     $vocabulary['nodes'] = variable_get('simplenews_content_types', array('simplenews' => 'simplenews'));
   }
