Projet

Général

Profil

Révision f3b595b7 inc/mailing.class.php

Voir les différences:

inc/mailing.class.php
489 489
		$subject=sprintf("%s%07d%s","[SUPPORT RYXEO #",$this->job->fields["ID"],"] ");
490 490

  
491 491
		if (isMultiEntitiesMode()){
492
			$subject.=getDropdownName("glpi_entities",$this->job->fields['FK_entities'])." | ";
492
		  //preg_replace pour virer toutes les entites parentes
493
		  $pattern = '/.*>/';
494
		  $replacement = '';
495
		  $subject .= preg_replace($pattern,$replacement, getDropdownName("glpi_entities",$this->job->fields['FK_entities'])) . " | ";
493 496
		}
494 497

  
495 498
		switch ($this->type){

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux