Skip to content

Commit

Permalink
use an abstract class
Browse files Browse the repository at this point in the history
pxpm committed Feb 7, 2024
1 parent 85083b6 commit 29c8418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Library/Uploaders/Support/UploadersRepository.php
Original file line number Diff line number Diff line change
@@ -127,7 +127,7 @@ public function getAjaxUploadTypes(string $group = 'withFiles'): array
{
$ajaxFieldTypes = [];
foreach ($this->uploaderClasses[$group] as $fieldType => $uploader) {
if (is_a($uploader, 'Backpack\Pro\Uploads\AjaxUploaderInterface', true)) {
if (is_a($uploader, 'Backpack\Pro\Uploads\AjaxUploaderAbstract', true)) {
$ajaxFieldTypes[] = $fieldType;
}
}

0 comments on commit 29c8418

Please sign in to comment.