From 4648a9edf9c7ee05a1f10124848150fd47a093e3 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 19 Dec 2013 22:21:17 -0500 Subject: [PATCH] code conventions --- main/survey/fillsurvey.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main/survey/fillsurvey.php b/main/survey/fillsurvey.php index d04c955ed7..1deb3897af 100644 --- a/main/survey/fillsurvey.php +++ b/main/survey/fillsurvey.php @@ -71,8 +71,10 @@ if ($surveyCode != "") { api_not_allowed(); } // If is anonymous and it is allowed to take the survey as anonymous, mark survey as anonymous: -else if (api_is_anonymous($_user['user_id'], true)) $isAnonymous = true; - +} else { + if (api_is_anonymous($_user['user_id'], true)) { + $isAnonymous = true; + } } // Header