--- advpoll.install	2007-12-03 21:41:24.000000000 +0100
+++ /home/maho/workspace/longturn.org/modules/_my/advpoll/advpoll.install	2008-06-19 15:48:14.000000000 +0200
@@ -276,8 +277,8 @@
  */
 function advpoll_update_7() {
   $ret = array();
-  $ret[] = update_sql('UPDATE {node} SET type = "advpoll_binary" WHERE type = "advpoll-binary"');
-  $ret[] = update_sql('UPDATE {node} SET type = "advpoll_ranking" WHERE type = "advpoll-ranking"');
+  $ret[] = update_sql("UPDATE {node} SET type = 'advpoll_binary' WHERE type = 'advpoll-binary'");
+  $ret[] = update_sql("UPDATE {node} SET type = 'advpoll_ranking' WHERE type = 'advpoll-ranking'");
   return $ret;
 }
 
