Index: openacs-4/packages/mail-tracking/sql/postgresql/mail-tracking-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/mail-tracking/sql/postgresql/mail-tracking-create.sql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/mail-tracking/sql/postgresql/mail-tracking-create.sql	15 Jun 2005 15:40:52 -0000	1.3
+++ openacs-4/packages/mail-tracking/sql/postgresql/mail-tracking-create.sql	15 Jun 2005 15:46:52 -0000	1.4
@@ -81,7 +81,7 @@
 	values
 		(v_log_id, p_message_id, p_recipient_id, p_sender_id, p_package_id, p_subject, p_body, now(), p_object_id);
 
-	return 0;
+	return v_log_id;
 
 end;' language 'plpgsql';
 
