Browse Source

Remove most upload validation for now

pjc 5 years ago
parent
commit
371b08a8c2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/upload/upload_handle.php

+ 1
- 1
sections/upload/upload_handle.php View File

@@ -111,6 +111,7 @@ if (!empty($_POST['requestid'])) {
111 111
 
112 112
 $Validate->SetFields('type', '1', 'inarray', 'Please select a valid type.', array('inarray' => array_keys($Categories)));
113 113
 switch ($Type) {
114
+  /*
114 115
   case 'Movies':
115 116
   case 'Anime':
116 117
     $Validate->SetFields('codec',
@@ -147,7 +148,6 @@ switch ($Type) {
147 148
     $Validate->SetFields('lang',
148 149
       '1','inarray','Please select a valid language.', array('inarray'=>$Languages));
149 150
 
150
-    /*
151 151
     $Validate->SetFields('release_desc',
152 152
       '0','string','The release description has a minimum length of 10 characters.', array('maxlength'=>1000000, 'minlength'=>10));
153 153
     */

Loading…
Cancel
Save