Skip to content

Commit

Permalink
stupido fix
Browse files Browse the repository at this point in the history
  • Loading branch information
madbob committed Feb 18, 2024
1 parent 87162a6 commit 85a9b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/app/Models/Concerns/AttachableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function attachByRequest($request, $id = null)

if (is_null($file) == false && $file->isValid()) {
$filename = $this->storeFile($name, $file);
if ($filanem == false) {
if ($filename == false) {
return false;
}

Expand Down

0 comments on commit 85a9b12

Please sign in to comment.