root 5年前
コミット
3adb1588e0
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      app/Http/Controllers/Main/CompoundController.php

+ 1
- 1
app/Http/Controllers/Main/CompoundController.php ファイルの表示

@@ -362,7 +362,7 @@ class CompoundController extends Controller
$id = Auth::guard('sadmin')->id();
$user = Staff::with('StaffDetail')->find($id);
$compound = Compound::with('ConfidentialFile')->where('kpd',$kpd)->first();
$compound = Compound::with('ConfidentialFile')->where('kpd',$kpd)->orWhere('non',$kpd)->first();
if(empty($compound))
{
$kpd = (int)$kpd;

読み込み中…
キャンセル
保存