Index: navigate.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/navigate/navigate.module,v
retrieving revision 1.5.4.2
diff -b -u -p -r1.5.4.2 navigate.module
--- navigate.module	6 Nov 2008 01:59:12 -0000	1.5.4.2
+++ navigate.module	6 Nov 2008 17:46:45 -0000
@@ -327,7 +327,7 @@ function navigate_widget_add($output=TRU
   $weight = db_result(db_query_range("SELECT weight FROM {navigate_widgets} WHERE uid = '%d' ORDER BY weight DESC", $user->uid, 0, 1));
   $weight++;
   
-  db_query("INSERT INTO {navigate_widgets} SET uid = '%d', type = '%s', module='%s', weight='%d'", $user->uid, $type, $module, $weight);
+  db_query("INSERT INTO {navigate_widgets} (uid, type, module, weight) VALUES (%d, '%s', '%s', %d)", $user->uid, $type, $module, $weight);
   
   $wid = db_last_insert_id('navigate_widgets', 'wid');
   
@@ -380,7 +380,7 @@ function navigate_cache_save($content=FA
     db_query("UPDATE {navigate_cache} SET content = '%s' WHERE uid = '%d'", $content, $user->uid);
   }
   else {
-    db_query("INSERT INTO {navigate_cache} SET uid = '%d', content = '%s'", $user->uid, $content);
+    db_query("INSERT INTO {navigate_cache} (uid, content) VALUES (%d, '%s')", $user->uid, $content);
   }
 }
 
@@ -404,7 +404,7 @@ function navigate_variable_set($settings
     db_query("UPDATE {navigate_user_settings} SET value = '%s' WHERE uid = '%d' AND name = '%s' AND wid = '%d'", $value, $user->uid, $name, $wid);
   }
   else {
-    db_query("INSERT INTO {navigate_user_settings} SET uid = '%d', value = '%s', name = '%s', wid = '%d'", $user->uid, $value, $name, $wid);
+    db_query("INSERT INTO {navigate_user_settings} (uid, value, name, wid) VALUES (%d, '%s', '%s', %d)", $user->uid, $value, $name, $wid);
   }
 }
 
