root il y a 4 ans
Parent
révision
938c07153b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      app/Http/Controllers/Api/CompoundController.php

+ 1
- 1
app/Http/Controllers/Api/CompoundController.php Voir le fichier

@@ -219,7 +219,7 @@ class CompoundController extends BaseController

$kpd = $request->get('kpd');
$success_upload = 0; $count_upload = 0;
$compound = Compound::with('ConfidentialFile')->where('kpd', $kpd)->first();
$compound = Compound::with('ConfidentialFile')->where('kpd', $kpd)->orWhere('non', $kpd)->first();
if(!empty($compound)){

if($request->hasFile('file')) {

Chargement…
Annuler
Enregistrer