Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
戻り値が変更されてしまう挙動を修正
  • Loading branch information
gondoh committed Mar 10, 2023
1 parent 60f8305 commit 002886b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Baser/Model/BcAppModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ public function fileExt($check, $exts)
}

// 更新時の文字列チェック
if (is_string($file)) {
if (!empty($file) && is_string($file)) {
$ext = pathinfo($file, PATHINFO_EXTENSION);
if (!in_array($ext, $exts)) {
return false;
Expand Down

0 comments on commit 002886b

Please sign in to comment.