Umba Ilunga Jeannick 202025800049 & Mvondo Jean Claude Wilfried 20202…#57
Open
Jeannick94 wants to merge 1 commit intomasterfrom
Open
Umba Ilunga Jeannick 202025800049 & Mvondo Jean Claude Wilfried 20202…#57Jeannick94 wants to merge 1 commit intomasterfrom
Jeannick94 wants to merge 1 commit intomasterfrom
Conversation
…5800038 Fixed bug No=74 unable to update attachment for posted assignmentss.
Member
|
Thanks. Could you explain a bit about your modification? It would be great if you could add a few comments to your new code. -Hui |
Comment on lines
+134
to
+137
| if($_FILES['attachment1']['name']!=""){ $targetfile = "/".$title."/".$_FILES['attachment1']['name']; } | ||
| if($_FILES['attachment2']['name']!=""){ $targetfile2 = "/".$title."/".$_FILES['attachment2']['name']; } | ||
| if($_FILES['attachment3']['name']!=""){ $targetfile3 = "/".$title."/".$_FILES['attachment3']['name']; } | ||
| if($_FILES['attachment4']['name']!=""){ $targetfile4 = "/".$title."/".$_FILES['attachment4']['name']; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Umba Ilunga Jeannick 202025800049 & Mvondo Jean Claude Wilfried 202025800038 Fixed bug No=74 unable to update attachment for posted assignments.
http://118.25.96.118/bugzilla/show_bug.cgi?id=74
Failed to update an attached file in a new assignment
I (as an instructor) posted a new assignment in the course (CSC322) - Software Project Management, titled ExamAnswerSubmission-Makeup (Individual).
I attached two files, StudentNumber-AnswerSheet.txt and ExamInstructions.txt.
I found an error in StudentNumber-AnswerSheet.txt, i.e., "ExamAnswerSubmission-ExamAnswerSubmission-Makeup" where "ExamAnswerSubmission" had been repeated twice.
Therefore, I tried to replace the old StudentNumber-AnswerSheet.txt with a new, correct one by clicking the Edit link and uploading a new StudentNumber-AnswerSheet.txt again. But I failed -- StudentNumber-AnswerSheet.txt remained the same.