Browse Source

[svn r10333] Fixed missing month of December :-) (2)

Yannick Warnier 18 years ago
parent
commit
2a8f5771ab
1 changed files with 4 additions and 4 deletions
  1. 4 4
      main/survey/create_new_survey.php

+ 4 - 4
main/survey/create_new_survey.php

@@ -20,7 +20,7 @@
 /**
 *	@package dokeos.survey
 * 	@author 
-* 	@version $Id: create_new_survey.php 10332 2006-12-06 00:36:22Z yannoo $
+* 	@version $Id: create_new_survey.php 10333 2006-12-06 00:38:18Z yannoo $
 */
 
 /*
@@ -286,7 +286,7 @@ if($surveyid = $_REQUEST['surveyid'])
 	december -->
 	<select name="end_fmonth">
 		<?
-			for($i=1;$i<count($MonthsLong);$i++)
+			for($i=1;$i<=count($MonthsLong);$i++)
 			{
 				if($i<=9)
 				$val = "0".$i;
@@ -529,7 +529,7 @@ else
 	december -->
 	<select name="fmonth">
 	<?
-			for($i=1;$i<count($MonthsLong);$i++)
+			for($i=1;$i<=count($MonthsLong);$i++)
 			{
 				if($i<=9)
 		{
@@ -599,7 +599,7 @@ else
 	december -->
 	<select name="end_fmonth">
 	<?
-			for($i=1;$i<count($MonthsLong);$i++)
+			for($i=1;$i<=count($MonthsLong);$i++)
 			{
 				if($i<=9)
 		{