From: vyshane Date: Thu, 1 Jun 2006 04:08:45 +0000 (+0000) Subject: Merged fix from 1.6 (missing lang string) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=65d169680c2c043462625d4f09eae54a39946968;p=moodle.git Merged fix from 1.6 (missing lang string) --- diff --git a/mod/data/edit.php b/mod/data/edit.php index d4126307f4..2483173bc9 100755 --- a/mod/data/edit.php +++ b/mod/data/edit.php @@ -323,7 +323,7 @@ // 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);