Projet

Général

Profil

Révision 43b3c696

Voir les différences:

plugins/anet_epacks/front/plugin_anet_epacks.generate_odt_courrier_end_contract.form.php
33 33
  //print "<p>$query</p>";
34 34
  $result = $DB->query($query);
35 35
  $data=$DB->fetch_array($result);
36
  if(count($data) == 0) {
36
  if(trim($data[0]) == "") {
37 37
    $clientid=$_GET['cid'];
38 38
    $query = "SELECT name FROM glpi_contracts WHERE ID='$clientid'";
39 39
    //print "<p>$query</p>";

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux