From f82dacc3e3a94edc48e399bb803134b8c20f19b2 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sun, 25 Jul 2010 17:07:18 -0500 Subject: [PATCH] Minor - code style update --- main/survey/survey.lib.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) mode change 100755 => 100644 main/survey/survey.lib.php diff --git a/main/survey/survey.lib.php b/main/survey/survey.lib.php old mode 100755 new mode 100644 index 19587cc1d8..9c7970b417 --- a/main/survey/survey.lib.php +++ b/main/survey/survey.lib.php @@ -4140,9 +4140,8 @@ class SurveyUtil { * @version January 2007 */ function get_survey_data($from, $number_of_items, $column, $direction) { - global $table_survey; - global $table_user; - global $table_survey_question; + global $table_survey, $table_user, $table_survey_question; + global $_user; // Searching $search_restriction = SurveyUtil::survey_search_restriction(); @@ -4185,7 +4184,7 @@ class SurveyUtil { $array[0] = $survey[0]; $array[1] = $survey[1]; - // Validacion when belongs to a session + // Validation when belonging to a session $session_img = api_get_session_image($survey['session_id'], $_user['status']); $array[2] = $survey[2] . $session_img;