]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-8781 fixed typo; merged from MOODLE_18_STABLE
authorskodak <skodak>
Tue, 27 Mar 2007 22:03:30 +0000 (22:03 +0000)
committerskodak <skodak>
Tue, 27 Mar 2007 22:03:30 +0000 (22:03 +0000)
mod/survey/view.php

index 0546ff5646c2618ac75fd90c8585209af98889d8..18f2eac703bd348dfb71529eb95d297648154cb7 100644 (file)
@@ -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");
     }