Apply this commit or upgrade to latest 5.2

Best regards,
Alain

commit 9de80309756b24b856d468d7fec9b0de9a3aadb7
Author: Alain Peyrat <[email protected]>
Date:   Mon May 21 13:18:34 2012 +0000

    Fix [#425] Project Management Facility has years fixed 1999-2013

diff --git a/src/www/pm/include/ProjectGroupHTML.class.php b/src/www/pm/include/ProjectGroupHTML.class.php
index e87f672..2583399 100644
--- a/src/www/pm/include/ProjectGroupHTML.class.php
+++ b/src/www/pm/include/ProjectGroupHTML.class.php
@@ -203,9 +203,10 @@ class ProjectGroupHTML extends ProjectGroup {
        }

        function showYearBox($name,$year=1) {
+               $current_year = date('Y');
                echo '
                <select name="'.$name.'" size="1">';
-               for ($i=1999; $i<=2013; $i++) {
+               for ($i=$current_year-5; $i<=$current_year+8; $i++) {
                        if ($i == $year) {
                                echo '
<option selected="selected" value="'.$i.'">'.$i.'</option>';


On 09/01/2014 13:49, Cuquerella Sanchez, Javier wrote:
Hi,
when I want to schedule a task within a project, only appears in the
drop until 2013.
Regards
---------------------------------------------------
*Javier Cuquerella Sánchez*

[email protected]_ <mailto:[email protected]>
Atos Research & Innovation
Systems Administrator
Albarracin 25
28037-Madrid (SPAIN)
Tfno: +34.91.214.8080
_www.atosresearch.eu_ <http://www.atosresearch.eu>
es.atos.net
---------------------------------------------------
*Javier Cuquerella Sánchez*

[email protected]_ <mailto:[email protected]>
Atos Research & Innovation
Systems Administrator
Albarracin 25
28037-Madrid (SPAIN)
Tfno: +34.91.214.8080
_www.atosresearch.eu_ <http://www.atosresearch.eu>
es.atos.net


_______________________________________________
Fusionforge-general mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-general



_______________________________________________
Fusionforge-general mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-general

Reply via email to