]> git.mjollnir.org Git - moodle.git/commitdiff
Minimum rows can be smaller
authormoodler <moodler>
Wed, 28 Apr 2004 02:57:37 +0000 (02:57 +0000)
committermoodler <moodler>
Wed, 28 Apr 2004 02:57:37 +0000 (02:57 +0000)
lib/weblib.php

index 8d9110c7f3cd2f8487fab2579a4aaebaccac0f68..f240f25e168cca4a808e1de6567eadd77911b715 100644 (file)
@@ -1593,8 +1593,8 @@ function print_textarea($usehtmleditor, $rows, $cols, $width, $height, $name, $v
         echo "<script type=\"text/javascript\" src=\"$CFG->wwwroot/lib/editor/lang/en.php\"></script>\n";
         echo "<script type=\"text/javascript\" src=\"$CFG->wwwroot/lib/editor/popupwin.js\"></script>\n";
 
-        if ($rows < 20) {
-            $rows = 20;
+        if ($rows < 10) {
+            $rows = 10;
         }
         if ($cols < 65) {
             $cols = 65;