From: Nik Okuntseff Date: Sat, 5 Mar 2016 10:16:57 +0000 (-0800) Subject: Removed not needed brackets X-Git-Tag: timetracker_1.19-1~1849 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=73a32cebd81029a0251f1e6d6b71b93fb9603a3a;p=timetracker.git Removed not needed brackets --- diff --git a/mobile/time.php b/mobile/time.php index b6887c97..21c43851 100644 --- a/mobile/time.php +++ b/mobile/time.php @@ -66,7 +66,7 @@ $cl_finish = trim($request->getParameter('finish')); $cl_duration = trim($request->getParameter('duration')); $cl_note = trim($request->getParameter('note')); // Custom field. -$cl_cf_1 = trim($request->getParameter(('cf_1'), ($request->getMethod()=='POST'? null : @$_SESSION['cf_1']))); +$cl_cf_1 = trim($request->getParameter('cf_1', ($request->getMethod()=='POST'? null : @$_SESSION['cf_1']))); $_SESSION['cf_1'] = $cl_cf_1; $cl_billable = 1; if (in_array('iv', explode(',', $user->plugins))) { diff --git a/time.php b/time.php index a6151124..e600968e 100644 --- a/time.php +++ b/time.php @@ -69,7 +69,7 @@ $cl_finish = trim($request->getParameter('finish')); $cl_duration = trim($request->getParameter('duration')); $cl_note = trim($request->getParameter('note')); // Custom field. -$cl_cf_1 = trim($request->getParameter(('cf_1'), ($request->getMethod()=='POST'? null : @$_SESSION['cf_1']))); +$cl_cf_1 = trim($request->getParameter('cf_1', ($request->getMethod()=='POST'? null : @$_SESSION['cf_1']))); $_SESSION['cf_1'] = $cl_cf_1; $cl_billable = 1; if (in_array('iv', explode(',', $user->plugins))) {