You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2015-01-30 20:10:00

kabassanov
Member
Registered: 2009-10-06
Posts: 41

PHP Notice: Undefined index: name in inc/search.class.php

Hello,

With glpi 0.85.2/3 in debug mode

There are this kind of messages in front/ticket.php when the first ticket owner is an external email address (from an email collector) and the second one is a standard user. 

PHP Notice: Undefined index: name in /usr/share/glpi/inc/search.class.php at line 3808
PHP Notice: Undefined index: name in /usr/share/glpi/inc/search.class.php at line 3816

It seems that something messes up with the email addresses:

For k=0:

Array
(
    [name] => 7753
    [2] => 0 toto@titi.com
)

And for k=1:

Array
(
    [2] => 7753
)

since 7753 is the standard user's ID, and the email is the external one...

Offline

#2 2015-01-31 12:59:31

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: PHP Notice: Undefined index: name in inc/search.class.php


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB