fixed a bug when call Frame->save() when set is true

This commit is contained in:
qcjackman 2018-05-17 11:12:58 +08:00
commit 8b03686aef

View file

@ -115,7 +115,10 @@ class Frame extends AbstractMediaType
$commands = array_merge($commands, $filter->apply($this));
}
$commands = array_merge($commands, array($pathfile));
// without output filename when return binary string
if(!$returnBase64) {
$commands = array_merge($commands, array($pathfile));
}
try {
if(!$returnBase64) {