Skip to content

Commit

Permalink
Fix: [Bug #384] Gantt doesn't display beyond 20 tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed May 7, 2012
1 parent 4799c66 commit 562be02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/projet/ganttview.php
@@ -1,7 +1,7 @@
<?php
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2010 Regis Houssin <regis@dolibarr.fr>
* Copyright (C) 2005-2012 Regis Houssin <regis@dolibarr.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -31,7 +31,7 @@
require_once(DOL_DOCUMENT_ROOT."/core/class/html.formother.class.php");

$id=GETPOST('id','int');
$ref=GETPOST('ref');
$ref=GETPOST('ref','alpha');
$mine = $_REQUEST['mode']=='mine' ? 1 : 0;
//if (! $user->rights->projet->all->lire) $mine=1; // Special for projects

Expand Down Expand Up @@ -185,7 +185,7 @@
$tasks[$taskcursor]['task_milestone']=0;
$tasks[$taskcursor]['task_percent_complete']=$val->progress;
//$tasks[$taskcursor]['task_name']=$task->getNomUrl(1);
$tasks[$taskcursor]['task_name']=$val->label;
$tasks[$taskcursor]['task_name']=dol_escape_js($val->label);
$tasks[$taskcursor]['task_start_date']=$val->date_start;
$tasks[$taskcursor]['task_end_date']=$val->date_end;
$tasks[$taskcursor]['task_color']='b4d1ea';
Expand Down

0 comments on commit 562be02

Please sign in to comment.