This commit is contained in:
tianshujie
2022-06-16 16:31:01 +08:00
parent d9731bb06c
commit b438c9882a
3 changed files with 67 additions and 13 deletions
+1 -1
View File
@@ -1337,7 +1337,7 @@ class programModel extends model
{
$path = substr($childNode->path, strpos($childNode->path, ",{$programID},"));
/* Only program sets update grade. */
/* Only program and project sets update grade. */
$grade = in_array($childNode->type, array('program', 'project')) ? $childNode->grade - $oldGrade + 1 : $childNode->grade;
if($parent)
{