> Please, reply me. Thanks.
Thanks to the forum i was guided into PHP code and found the culprit.
Indeed GLPI can read only single/first value of a multivalue field, but
at least for email the patch are rather easy.
Patch attached.
PS: GLPI developers, please provide me feedback that patch are at least
seen, or say me if i've to put them intothe forge/BTS...
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
--- user.class.php.orig 2013-12-02 16:25:42.000000000 +0100
+++ user.class.php 2013-12-02 16:37:11.000000000 +0100
@@ -1223,7 +1223,9 @@
case "email3":
case "email4":
if (!empty($v[0][$e][0])) {
- $this->fields["_emails"][] = addslashes($v[0][$e][0]);
+ for ($j=0; $j<$v[0][$e]["count"]; $j++) {
+ $this->fields["_emails"][] = addslashes($v[0][$e][$j]);
+ }
}
break;
case "language" :
_______________________________________________
Glpi-user mailing list
[email protected]
https://mail.gna.org/listinfo/glpi-user