mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Removed more debugging
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
09914f508f
commit
312ce51de6
|
@ -86,12 +86,8 @@ class ImageUploadRequest extends Request
|
||||||
|
|
||||||
if ($this->offsetGet($form_fieldname) instanceof UploadedFile) {
|
if ($this->offsetGet($form_fieldname) instanceof UploadedFile) {
|
||||||
$image = $this->offsetGet($form_fieldname);
|
$image = $this->offsetGet($form_fieldname);
|
||||||
\Log::debug('Image is an instance of UploadedFile');
|
|
||||||
} elseif ($this->hasFile($form_fieldname)) {
|
} elseif ($this->hasFile($form_fieldname)) {
|
||||||
$image = $this->file($form_fieldname);
|
$image = $this->file($form_fieldname);
|
||||||
\Log::debug('Just use regular upload for '.$form_fieldname);
|
|
||||||
} else {
|
|
||||||
\Log::debug('No image found for form fieldname: '.$form_fieldname);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($image)) {
|
if (isset($image)) {
|
||||||
|
|
Loading…
Reference in a new issue