Little fix to insure fallback in openValidBase64 method works correctly

This commit is contained in:
2018-10-06 16:49:18 +02:00
parent 95b6a23159
commit 65e6511a3e
7 changed files with 15 additions and 15 deletions

View File

@ -2295,7 +2295,7 @@ abstract class ComponentbuilderHelper
}
}
// fallback to this, not perfect method
elseif (base64_encode(base64_decode($data, true)) === $data)
if (base64_encode(base64_decode($data, true)) === $data)
{
return base64_decode($data);
}