fix enablespecial judgment

This commit is contained in:
xiaomlove
2022-11-02 17:39:57 +08:00
parent 5dc07e899e
commit 7d63a0586a
3 changed files with 3 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ stdhead($lang_upload['head_upload']);
$hitAndRunRep = new \App\Repositories\HitAndRunRepository();
echo $customField->renderOnUploadPage(0, $browsecatmode);
echo $hitAndRunRep->renderOnUploadPage('', $browsecatmode);
if ($enablespecial) {
if ($enablespecial == 'yes') {
echo $customField->renderOnUploadPage(0, $specialcatmode);
echo $hitAndRunRep->renderOnUploadPage('', $specialcatmode);
}