Changeset 48778 in spip-zone
- Timestamp:
- Jun 14, 2011, 8:09:44 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/revisions/inc/suivi_versions.php
r45623 r48778 129 129 } 130 130 131 // memoriser les cas les plus courant 132 $afficher_diff_champ = charger_fonction('champ','afficher_diff'); 133 $afficher_diff_jointure = charger_fonction('jointure','afficher_diff'); 131 134 foreach ($champs as $champ) { 132 135 // Remonter dans le temps pour trouver le champ en question … … 147 150 if (!$afficher_diff = charger_fonction($objet."_".$champ,'afficher_diff',true) 148 151 AND !$afficher_diff = charger_fonction($champ,'afficher_diff',true)) 149 $afficher_diff = charger_fonction(strncmp($champ,'jointure_',9)==0?'jointure':'champ','afficher_diff');152 $afficher_diff = (strncmp($champ,'jointure_',9)==0?$afficher_diff_jointure:$afficher_diff_champ); 150 153 151 154 $textes[$champ] = $afficher_diff($champ,$old[$champ],$new[$champ],$format);
Note: See TracChangeset
for help on using the changeset viewer.