Minor - flint fixes

pull/2729/head
Julio Montoya 8 years ago
parent 91980f90e2
commit 385a6aed5c
  1. 12
      main/exercise/exercise.class.php
  2. 2
      main/install/install.lib.php

@ -3309,12 +3309,12 @@ class Exercise
*
* @param int $exeId
* @param int $questionId
* @param mixed $choice the user-selected option
* @param string $from function is called from 'exercise_show' or 'exercise_result'
* @param array $exerciseResultCoordinates the hotspot coordinates $hotspot[$question_id] = coordinates
* @param bool $saved_results save results in the DB or just show the reponse
* @param bool $from_database gets information from DB or from the current selection
* @param bool $show_result show results or not
* @param mixed $choice the user-selected option
* @param string $from function is called from 'exercise_show' or 'exercise_result'
* @param array $exerciseResultCoordinates the hotspot coordinates $hotspot[$question_id] = coordinates
* @param bool $saved_results save results in the DB or just show the reponse
* @param bool $from_database gets information from DB or from the current selection
* @param bool $show_result show results or not
* @param int $propagate_neg
* @param array $hotspot_delineation_result
* @param bool $showTotalScoreAndUserChoicesInLastAttempt

@ -3626,7 +3626,7 @@ function fixPostGroupIds($connection)
'ref' => $workId,
'lastedit_type' => 'visible',
'lastedit_user_id' => 1,
'visibility' => 1
'visibility' => 1,
];
$connection->insert('c_item_property', $params);
$id = $connection->lastInsertId();

Loading…
Cancel
Save