make sure to specify a money_char default
authorivan <ivan>
Sun, 25 Dec 2005 03:38:36 +0000 (03:38 +0000)
committerivan <ivan>
Sun, 25 Dec 2005 03:38:36 +0000 (03:38 +0000)
httemplate/edit/part_bill_event.cgi

index cc6bb47..32ca47a 100755 (executable)
@@ -95,7 +95,7 @@ sub select_agentnum {
 }
 
 my $conf = new FS::Conf;
-my $money_char = $conf->config('money_char');
+my $money_char = $conf->config('money_char') || '$';
 
 #this is pretty kludgy right here.
 tie my %events, 'Tie::IxHash',