From e0ca19a12dd9da1c86609372fd80cdf388437915 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 27 Mar 2007 22:03:30 +0000 Subject: [PATCH] MDL-8781 fixed typo; merged from MOODLE_18_STABLE --- mod/survey/view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/survey/view.php b/mod/survey/view.php index 0546ff5646..18f2eac703 100644 --- a/mod/survey/view.php +++ b/mod/survey/view.php @@ -22,8 +22,8 @@ if (! $survey = get_record("survey", "id", $cm->instance)) { error("Survey ID was incorrect"); } - $rimmedintro = trim($survey->intro); - if (empty($rimmedintro)) { + $trimmedintro = trim($survey->intro); + if (empty($trimmedintro)) { $tempo = get_field("survey", "intro", "id", $survey->template); $survey->intro = get_string($tempo, "survey"); } -- 2.39.5