I guess I stumped you all.

Date: Wed, 28 Apr 1999 17:09:39 -0300 (ADT)
From: Michael Smith <michael@csuite.ns.ca>
To: David Lott <david@pgfn.bc.ca>
cc: CSuite Technical Team <csuite-tech@chebucto.ns.ca>
Precedence: bulk
Return-Path: <csuite-tech-mml-owner@chebucto.ns.ca>

next message in archive
next message in thread
previous message in archive
previous message in thread
Index of Subjects

Index of Subjects
On Wed, 28 Apr 1999, David Lott wrote:

> Here it is.  I should point out that when renewing memberships, the
> amount is correct, it is only when processing donations that it is blank. 

OK, now I see why no one spotted this: Someone at CCN fixed the bug in
$CS_ROOT/etc/cgi-membinbin/memupdate on our system back in November. ;)

In the original CSuite 1.0 release, at about line 206, remove the blank
space in the last (empty) set of quotes in the call to send-mem-mail, and
replace it with $cgi_AMOUNT . Here's a context diff to show what I mean:

--- /var/csuite/etc/cgi-membin/memupdate	Sat Jun 20 14:46:21 1998
+++ memupdate	Wed Apr 28 17:08:29 1999
@@ -203,7 +203,7 @@
 	echo "d|$cgi_LOGIN|$cgi_AMOUNT|$stamp|$REMOTE_USER" >> $acctlog
 	echo "d|$cgi_LOGIN|$cgi_AMOUNT|$cgi_METHOD|$stamp|$REMOTE_USER" >> $moneylog
 	echo $"Donation recorded for $cgi_LOGIN<br>"
-	send-mem-mail "$cgi_LOGIN" "donation" "Donation" " "
+	send-mem-mail "$cgi_LOGIN" "donation" "Donation" "$cgi_AMOUNT"
   	;;
 "renew")
 	moreids="no"

next message in archive
next message in thread
previous message in archive
previous message in thread
Index of Subjects