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-21 14:56:44

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

[SVN 0.84 / 85] email avec apostrophe - User::getOrImportByEmail

2015-01-21 11:05:16
*** MySQL query error:
***
SQL: SELECT `users_id` as id
                FROM `glpi_useremails`
                LEFT JOIN `glpi_users` ON (`glpi_users`.`id` = `glpi_useremails`.`users_id`)
                WHERE `glpi_useremails`.`email` = \'marcel.op\'thoog@toto.com\'
                ORDER BY `glpi_users`.`is_active`  DESC
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'thoog@toto.com'
                ORDER BY `glpi_users`.`is_active`  DESC' at line 4
Backtrace :
/var/www/html/glpi/inc/user.class.php :3269        DBmysql->query()
/var/www/html/glpi/inc/mailcollector.class.php :661        User::getOrImportByEmail()
/var/www/html/glpi/inc/mailcollector.class.php :480        MailCollector->buildTicket()
/var/www/html/glpi/inc/mailcollector.class.php :1464        MailCollector->collect()
 :        MailCollector::cronMailgate()
/var/www/html/glpi/inc/crontask.class.php :755        call_user_func()
/var/www/html/glpi/front/cron.php :84        CronTask::launch()
/var/www/html/glpi/front/cron.php

il faut surement faire un stripslashes ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#2 2015-01-21 15:34:22

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: [SVN 0.84 / 85] email avec apostrophe - User::getOrImportByEmail

oui


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2015-01-30 11:56:08

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

Re: [SVN 0.84 / 85] email avec apostrophe - User::getOrImportByEmail


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB