Browse Source

Merge pull request #301 from zomberg/fix_ioncube_encrypt_task

[FIX] Removed undefined variable
1.0
Andrés Montañez 8 years ago committed by GitHub
parent
commit
35d61cc5d4
  1. 2
      Mage/Task/BuiltIn/Ioncube/EncryptTask.php

2
Mage/Task/BuiltIn/Ioncube/EncryptTask.php

@ -435,7 +435,7 @@ class EncryptTask extends AbstractTask
private function checkFileCoding($filename)
{
// check to see if this is an encrypted file
$ioncube = ioncube_read_file($filename, $ioncubeType);
$ioncube = ioncube_read_file($filename);
if (is_int($ioncube)) {
// we got an error from ioncube, so its encrypted
return true;

Loading…
Cancel
Save