return true in case of succees

This commit is contained in:
Uwe Steinmann 2022-08-09 15:53:05 +02:00
parent e31c532c68
commit b54eb4dc61

View File

@ -68,6 +68,7 @@ class SeedDMS_Controller_Preview extends SeedDMS_Controller_Common {
}
header('Content-Type: image/png');
$previewer->getPreview($content);
return true;
}
} /* }}} */
@ -106,6 +107,7 @@ class SeedDMS_Controller_Preview extends SeedDMS_Controller_Common {
}
header('Content-Type: image/png');
$previewer->getPreview($object);
return true;
}
} /* }}} */