? mail_logger_do_not_change_mail.patch
? mail_logger_make_coder_happy.patch
Index: mail_logger.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mail_logger/Attic/mail_logger.install,v
retrieving revision 1.2.4.3
diff -u -p -r1.2.4.3 mail_logger.install
--- mail_logger.install	6 Feb 2010 23:11:03 -0000	1.2.4.3
+++ mail_logger.install	7 Feb 2010 09:23:19 -0000
@@ -1,6 +1,11 @@
 <?php
 // $Id: mail_logger.install,v 1.2.4.3 2010/02/06 23:11:03 litwol Exp $
 
+/**
+ * @file
+ * Install, update and uninstall functions for the mail_logger module.
+ */
+
 function mail_logger_schema() {
   $schema = array();
   $schema['mail_logger'] = array(
@@ -87,7 +92,7 @@ function mail_logger_uninstall() {
 function mail_logger_enable() {
   // Because modules can modify the outgoing mail, mail_logger must be executed last in order to capture 
   // the final mail parameters by setting the weight of mail_logger to something large.
-  $max_weight = db_result(db_query("SELECT max(weight) FROM {system} WHERE name != 'mail_logger'"));
+  $max_weight = db_result(db_query("SELECT max(weight) FROM {system} WHERE name <> 'mail_logger'"));
   db_query("UPDATE {system} SET weight = %d WHERE name = 'mail_logger'", $max_weight + 100);
 }
 
