Fix var not defined

This commit is contained in:
Laurent Destailleur 2020-07-18 19:22:03 +02:00
parent bb4543167f
commit eef66ae6ed

View File

@ -272,6 +272,7 @@ if ($action == 'addtime' && $user->rights->projet->lire && GETPOST('formfilterac
{
if (intval($time) > 0)
{
$matches = array();
// Hours or minutes of duration
if (preg_match("/([0-9]+)duration(hour|min)/", $key, $matches))
{