Projet

Général

Profil

Révision 69e9d959

Voir les différences:

htdocs/front/helpdesk.abuledu_details.php
46 46
";
47 47

  
48 48
//Les images / photos prises de cette installation ...
49
//le bug c'est qu'on a aussi les images jointes aux tickets !!!
49 50
$query = "SELECT glpi_docs.FK_entities, glpi_docs.recursive,
50 51
  glpi_docs.name AS name,
51 52
  glpi_docs.filename AS filename,
......
57 58
  LEFT JOIN glpi_dropdown_rubdocs ON (glpi_docs.rubrique = glpi_dropdown_rubdocs.ID)
58 59
WHERE
59 60
  glpi_docs.mime LIKE '%image%' AND
61
  glpi_docs.name NOT LIKE '%Ticket%' AND
60 62
  glpi_docs.deleted='0' AND ( glpi_docs.FK_entities IN (" . $_SESSION['glpiactive_entity'] . ") OR ( glpi_docs.recursive='1' AND glpi_docs.FK_entities IN (" . $_SESSION['glpiactive_entity'] . ")) ) ORDER BY glpi_docs.name";
61 63

  
62 64
$result = $DB->query($query) or die($DB->error());

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux