From: thepurpleblob <thepurpleblob> Date: Tue, 8 Jul 2008 08:45:26 +0000 (+0000) Subject: MDL-15304 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8f829910d6440bd954f01053a977d75f7e713f6f;p=moodle.git MDL-15304 Remove the item number from the created label name. It doesn't work for new labels. Merged from STABLE_19 --- diff --git a/mod/label/lib.php b/mod/label/lib.php index bbcc4f1e8a..e50cf0fc96 100644 --- a/mod/label/lib.php +++ b/mod/label/lib.php @@ -15,7 +15,7 @@ function get_label_name($label) { if (empty($name)) { // arbitrary name - $name = "label{$label->instance}"; + $name = "label"; } return $name;