From 65d169680c2c043462625d4f09eae54a39946968 Mon Sep 17 00:00:00 2001 From: vyshane Date: Thu, 1 Jun 2006 04:08:45 +0000 Subject: [PATCH] Merged fix from 1.6 (missing lang string) --- mod/data/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5