Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for multi-image upload #1442

Merged
merged 4 commits into from
Dec 19, 2023

Conversation

mambax7
Copy link
Collaborator

@mambax7 mambax7 commented Dec 13, 2023

No description provided.

@@ -226,7 +226,7 @@ public function handleUpload($uploadDirectory, $name = null)

$mimeType = '';
if (!empty($this->allowedMimeTypes)) {
$mimeType = mime_content_type(Request::getString($this->inputName['tmp_name'], '', 'FILES'));
$mimeType = mime_content_type(Request::getArray($temp, [], 'FILES')['tmp_name']);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undefined variable '$temp'

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I just updated it!

@mambax7 mambax7 merged commit 6c3b59d into XOOPS:master Dec 19, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants