]> git.mjollnir.org Git - moodle.git/commitdiff
Merged fix from 1.6 (missing lang string)
authorvyshane <vyshane>
Thu, 1 Jun 2006 04:08:45 +0000 (04:08 +0000)
committervyshane <vyshane>
Thu, 1 Jun 2006 04:08:45 +0000 (04:08 +0000)
mod/data/edit.php

index d4126307f4967d4aa31f0d7725dc49eef4f3604f..2483173bc9ca643317d89c1780fbef9097219b07 100755 (executable)
 
     // Print the stuff that need to come after the form fields.
     if (!$fields = get_records('data_fields', 'dataid', $data->id)) {
-        error(get_string('nofieldindatabase'));
+        error(get_string('nofieldindatabase', 'data'));
     }
     foreach ($fields as $eachfield) {
         $field = data_get_field($eachfield, $data);