PM-3248 "Error cuando no se tiene espacio..." SOLVED

This commit is contained in:
Luis Fernando Saisa Lopez
2015-08-18 12:19:41 -04:00
parent 0ac4d5b19c
commit 2f092e8dc3
2 changed files with 2 additions and 2 deletions

View File

@@ -5436,7 +5436,7 @@ class G
{ {
// Initialize variables // Initialize variables
$res = new stdclass(); $res = new stdclass();
$allowedTypes = array_map('G::getRealExtension', explode(', ', $InpDocAllowedFiles)); $allowedTypes = array_map('G::getRealExtension', explode(',', $InpDocAllowedFiles));
// If required extension is *.* don't validate // If required extension is *.* don't validate
if (in_array('*', $allowedTypes)) { if (in_array('*', $allowedTypes)) {

View File

@@ -68,7 +68,7 @@ var verifyInfo = function(oForm)
docType = oAux.value.split("."); docType = oAux.value.split(".");
docType = docType[docType.length - 1]; docType = docType[docType.length - 1];
allowedTypes = getField('fileTypes').value.split(", "); allowedTypes = getField('fileTypes').value.split(",");
for(i=0; i<allowedTypes.length; i++){ for(i=0; i<allowedTypes.length; i++){
var arrayMatch = []; var arrayMatch = [];