[Fusionforge-commits] r7706 - branches/Branch_4_8/gforge/www/reporting
Roland Mas
lolando at libremir.placard.fr.eu.org
Tue Jun 2 20:25:37 CEST 2009
Author: lolando
Date: 2009-06-02 20:25:37 +0200 (Tue, 02 Jun 2009)
New Revision: 7706
Modified:
branches/Branch_4_8/gforge/www/reporting/toolspie.php
Log:
"Fixed bug", patch from Julien Heymann
Modified: branches/Branch_4_8/gforge/www/reporting/toolspie.php
===================================================================
--- branches/Branch_4_8/gforge/www/reporting/toolspie.php 2009-05-28 20:07:03 UTC (rev 7705)
+++ branches/Branch_4_8/gforge/www/reporting/toolspie.php 2009-06-02 18:25:37 UTC (rev 7706)
@@ -34,7 +34,11 @@
exit_error($report->getErrorMessage());
}
-if (!isset($start)) {
+$datatype = getStringFromRequest('datatype');
+$start = getStringFromRequest('start');
+$end = getStringFromRequest('end');
+
+if (!$start) {
$z =& $report->getMonthStartArr();
$start = $z[count($z)-1];
}
@@ -43,11 +47,7 @@
echo report_header(_('Tool Pie Graphs'));
-$datatype = getStringFromRequest('datatype');
-$start = getStringFromRequest('start');
-$end = getStringFromRequest('end');
-
-if (!isset($datatype)) {
+if (!$datatype) {
$datatype=1;
}
More information about the Fusionforge-commits
mailing list