We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After recieving e-mail WITH attachment, GLPI creates ticket WITHOUT attachment. php-errors.log contains following message:
PHP Notice(8): Undefined variable: mid Backtrace : inc/mailcollector.class.php:1412 inc/mailcollector.class.php:1413 MailCollector->getRecursiveAttached() inc/mailcollector.class.php:1545 MailCollector->getRecursiveAttached() inc/mailcollector.class.php:704 MailCollector->getAttached() inc/mailcollector.class.php:540 MailCollector->buildTicket() inc/mailcollector.class.php:1647 MailCollector->collect() : MailCollector::cronMailgate() inc/crontask.class.php:832 call_user_func() front/cron.php:87 CronTask::launch()
It seems like copy-paste issue. I've made some changes in /inc/mailcollector.class.php, and it works now.
Changes: line 1412 was: $this->getRecursiveAttached($mid, $path, $maxsize, $sub_structure, // ($part ? $part.".".($index+1) : ($index+1))); now $this->getRecursiveAttached($uid, $path, $maxsize, $sub_structure, ($part ? $part.".".($index+1) : ($index+1)));
$this->getRecursiveAttached($mid, $path, $maxsize, $sub_structure, // ($part ? $part.".".($index+1) : ($index+1)));
$this->getRecursiveAttached($uid, $path, $maxsize, $sub_structure, ($part ? $part.".".($index+1) : ($index+1)));
The text was updated successfully, but these errors were encountered:
Duplicates #2841
Sorry, something went wrong.
No branches or pull requests
After recieving e-mail WITH attachment, GLPI creates ticket WITHOUT attachment.
php-errors.log contains following message:
PHP Notice(8): Undefined variable: mid
Backtrace :
inc/mailcollector.class.php:1412
inc/mailcollector.class.php:1413 MailCollector->getRecursiveAttached()
inc/mailcollector.class.php:1545 MailCollector->getRecursiveAttached()
inc/mailcollector.class.php:704 MailCollector->getAttached()
inc/mailcollector.class.php:540 MailCollector->buildTicket()
inc/mailcollector.class.php:1647 MailCollector->collect()
: MailCollector::cronMailgate()
inc/crontask.class.php:832 call_user_func()
front/cron.php:87 CronTask::launch()
It seems like copy-paste issue. I've made some changes in /inc/mailcollector.class.php, and it works now.
Changes: line 1412
was:
$this->getRecursiveAttached($mid, $path, $maxsize, $sub_structure, // ($part ? $part.".".($index+1) : ($index+1)));
now
$this->getRecursiveAttached($uid, $path, $maxsize, $sub_structure, ($part ? $part.".".($index+1) : ($index+1)));
The text was updated successfully, but these errors were encountered: