Browse Source

Correctif id_etablissement non défini

prodstable
keun 7 years ago
parent
commit
e8e344d872
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      backend/controllers/CommandeController.php

+ 1
- 0
backend/controllers/CommandeController.php View File

@@ -77,6 +77,7 @@ class CommandeController extends BackendController {
$production = Production::find()
->where('date LIKE \'' . $date . '\'')
->andWhere(['id_etablissement' => $id_etablissement])
->one();
if($production)
{

Loading…
Cancel
Save