Merge pull request #301 from zomberg/fix_ioncube_encrypt_task

[FIX] Removed undefined variable
This commit is contained in:
Andrés Montañez 2017-01-02 15:18:08 -03:00 committed by GitHub
commit 35d61cc5d4

View file

@ -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;