Fix: Missing global

This commit is contained in:
Laurent Destailleur 2010-04-24 13:43:37 +00:00
parent e86d33e008
commit 4bdfaf4c7c

View File

@ -620,6 +620,8 @@ class Task extends CommonObject
*/
function addTimeSpent($user, $notrigger=0)
{
global $conf,$langs;
$ret = 0;
// Clean parameters