X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=torrus%2Fbin%2Fsrvderive.in;fp=torrus%2Fbin%2Fsrvderive.in;h=6623f1d568d0413ff556886627e996dcec7c3215;hp=17749170c36a3297188a741fc478261e9939f418;hb=da0c8ddeee43e29a6d4c64a7bc9237de6c83406b;hpb=75ea5c815e799140edb346591a417df4091f09bc diff --git a/torrus/bin/srvderive.in b/torrus/bin/srvderive.in index 17749170c..6623f1d56 100644 --- a/torrus/bin/srvderive.in +++ b/torrus/bin/srvderive.in @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -# $Id: srvderive.in,v 1.1 2010-12-27 00:04:02 ivan Exp $ +# $Id: srvderive.in,v 1.2 2011-06-11 00:20:14 ivan Exp $ # Stanislav Sinyagin # Combine SUM or MAX from several service IDs and create a new one @@ -128,7 +128,7 @@ my $endtime; if( defined($enddate) ) { - $endtime = str2time( $startdate ); + $endtime = str2time( $enddate ); if( not defined($endtime) ) { Error('Cannot parse end date: ' . $enddate);