diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 14:49:38 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 14:49:38 -0700 |
commit | fe58901b811f0ab26e8f93a9563fb93bc98e4c19 (patch) | |
tree | 035648bdef5c41f0e05929edc543692837fec40a /httemplate/graph | |
parent | 26484e261d7a6bd833d041b417b60e63db19edf7 (diff) |
scalar cgi param
Diffstat (limited to 'httemplate/graph')
-rw-r--r-- | httemplate/graph/signupdate.cgi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/graph/signupdate.cgi b/httemplate/graph/signupdate.cgi index 8261257f3..823ddb89f 100644 --- a/httemplate/graph/signupdate.cgi +++ b/httemplate/graph/signupdate.cgi @@ -34,13 +34,13 @@ $where{'agentnum'} = $agentnum if $agentnum; $where{'usernum'} = $usernum if $usernum; my $sdate = DateTime->new( - year => $cgi->param('start_year'), - month => $cgi->param('start_month'), + year => scalar($cgi->param('start_year')), + month => scalar($cgi->param('start_month')), )->epoch(); my $edate = DateTime->new( - year => $cgi->param('end_year'), - month => $cgi->param('end_month') + year => scalar($cgi->param('end_year')), + month => scalar($cgi->param('end_month')), )->add( months => 1 )->epoch(); my $where = (%where ? ' AND ' : ' WHERE '); |