mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
fixed issue MDL-14531
added an option to switch autonumbering on or off
This commit is contained in:
parent
914061abe1
commit
efc5916754
22 changed files with 74 additions and 52 deletions
|
@ -149,9 +149,9 @@
|
|||
//get the values
|
||||
$value = get_record_select('feedback_value','completed ='.$feedbackcompleted->id.' AND item='.$feedbackitem->id);
|
||||
echo '<tr>';
|
||||
if($feedbackitem->hasvalue == 1) {
|
||||
if($feedbackitem->hasvalue == 1 AND $feedback->autonumbering) {
|
||||
$itemnr++;
|
||||
echo '<td valign="top">' . $itemnr . '.) </td>';
|
||||
echo '<td valign="top">' . $itemnr . '. </td>';
|
||||
} else {
|
||||
echo '<td> </td>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue