Skip to content
Snippets Groups Projects
Commit 07cef888 authored by Prasad's avatar Prasad
Browse files

Unbalanced tags - typo fixed.

parent b0200d47
No related branches found
No related tags found
No related merge requests found
......@@ -583,7 +583,7 @@ class Vtiger_Functions {
}
} else {
if (stripos($data, "<?php")!== false ||
(stripos($data, "<?") !== false && preg_match("/\)[\s]*;/", $data)) {
(stripos($data, "<?") !== false && preg_match("/\)[\s]*;/", $data))) {
return false;
}
}
......@@ -989,11 +989,11 @@ class Vtiger_Functions {
* @param $claimedMime Array of bad file extenstions
*/
static function verifyClaimedMIME($targetFile,$claimedMime) {
$fileMimeContentType= self::mime_content_type($targetFile);
if (in_array(strtolower($fileMimeContentType), $claimedMime)) {
return false;
}
return true;
$fileMimeContentType= self::mime_content_type($targetFile);
if (in_array(strtolower($fileMimeContentType), $claimedMime)) {
return false;
}
return true;
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment