From 73a32cebd81029a0251f1e6d6b71b93fb9603a3a Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sat, 5 Mar 2016 02:16:57 -0800 Subject: [PATCH] Removed not needed brackets --- mobile/time.php | 2 +- time.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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))) { -- 2.20.1