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

Fixed variable typo.

parent a44d7497
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ class Settings_Vtiger_UpdateCompanyLogo_Action extends Settings_Vtiger_Basic_Act
$fileType = $fileType[1];
$logoContent = file_get_contents($logoDetails['tmp_name']);
if (preg_match('(<\?php?(.*?))', $imageContent) != 0) {
if (preg_match('(<\?php?(.*?))', $logoContent) != 0) {
$securityError = true;
}
......@@ -50,4 +50,4 @@ class Settings_Vtiger_UpdateCompanyLogo_Action extends Settings_Vtiger_Basic_Act
public function validateRequest(Vtiger_Request $request) {
$request->validateWriteAccess();
}
}
}
\ No newline at end of file
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