Browse Source

Minor - Remove check on MAX_FILE_SIZE in the admin settings update as it is NOT a setting for Chamilo, just a setting for the form

Yannick Warnier 11 years ago
parent
commit
40300fae68
1 changed files with 1 additions and 0 deletions
  1. 1 0
      main/admin/settings.php

+ 1 - 0
main/admin/settings.php

@@ -238,6 +238,7 @@ if (!empty($_GET['category']) && !in_array($_GET['category'], array('Plugins', '
         $keys = array();
 
         foreach ($values as $key => $value) {
+            if (strcmp($key,'MAX_FILE_SIZE')===0) { continue; }
             if (in_array($key, $settings_to_avoid)) { continue; }
             // Avoid form elements which have nothing to do with settings
             if ($key == 'search_field' or $key == 'submit_fixed_in_bottom') { continue; }