# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: contributions/modules/subscribe/subscribe.module
--- contributions/modules/subscribe/subscribe.module Base (1.27.2.7)
+++ contributions/modules/subscribe/subscribe.module Locally Modified (Based On 1.27.2.7)
@@ -643,13 +656,13 @@
     return $ret;
   }
   
-  if (db_result(db_query('SELECT COUNT(*) FROM {subscribe_timestamp_nonce} WHERE domain = "%s" AND nonce = "%s"', $domain, $nonce))) {
+  if (db_result(db_query("SELECT COUNT(*) FROM {subscribe_timestamp_nonce} WHERE domain = '%s' AND nonce = '%s'", $domain, $nonce))) {
     $ret['status'] = 0;
     $ret['error'] = t('Token has been used previously for a request. Re-try with another nonce key.');
     return $ret;
   }
   else {
-    db_query('INSERT INTO {subscribe_timestamp_nonce} (domain, timestamp, nonce) VALUES ("%s", %d, "%s")', $domain, $timestamp, $nonce);
\ No newline at end of file
+    db_query("INSERT INTO {subscribe_timestamp_nonce} (domain, timestamp, nonce) VALUES ('%s', %d, '%s')", $domain, $timestamp, $nonce);
   }
   
   $hash_parameters = array($timestamp, $domain, $nonce, $method);
