Projet

Général

Profil

Révision ce24658f

Voir les différences:

plugins/anet_migration/front/plugin_anet_migration.index.php
45 45

  
46 46
$result = $DB->query($query);
47 47
if($result) {
48
  
48

  
49
  $data=$DB->fetch_array($result);
50
  //print_r($data);
51
  $entityid = $data['FK_entities'];
52

  
49 53
  print local_make_array_header();
50 54

  
51 55
  $query2 = "SELECT m.*,e.code FROM glpi_plugin_anet_migration as m
52 56
LEFT JOIN glpi_plugin_anet_epacks as e ON e.id=FK_epack
57
WHERE (e.FK_clientderyxeo='" . $entityid . "' OR e.FK_activation='" . $entityid . "')
53 58
GROUP BY FK_epack,etape
54 59
ORDER BY ladate,etape";
60
  //print $query2;
61

  
55 62
  $result2 = $DB->query($query2);
56 63
  for($i = 0; $i < $DB->numrows($result2); $i++) {
57 64
    $data2=$DB->fetch_array($result2);

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux