You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SUBMISSION_FILE_SUBMISSION is a PHP constant that is equal to 2. So that’s why it’s working when you use the integer. However, you should use the constant to protect yourself in case the value changes.
If you’re on the main branch, you can use the following: 'fileStage' => PKP\submission\SubmissionFile::SUBMISSION_FILE_SUBMISSION instead of 'fileStage' => 2,
The text was updated successfully, but these errors were encountered:
The SUBMISSION_FILE_SUBMISSION is a PHP constant that is equal to 2. So that’s why it’s working when you use the integer. However, you should use the constant to protect yourself in case the value changes.
If you’re on the main branch, you can use the following:
'fileStage' => PKP\submission\SubmissionFile::SUBMISSION_FILE_SUBMISSION
instead of'fileStage' => 2,
The text was updated successfully, but these errors were encountered: