<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Adam,<br>
<br>
Thanks for the quick response, version 5.4.0.<br>
<br>
The code in question: <br>
if ($relateto[1] != NULL) {<br>
$entityId = $relateto[1];<br>
$parent_module = getSalesEntityType($entityId);<br>
$description = getMergedDescription($body, $entityId,
$parent_module);<br>
}<br>
<br>
Now, I find that $entityId is integer 1. $parent_module is empty.
I'm not sure what getSalesEntityType should be returning - but the
results are the same if I send to an Organization or Contact or just
any random email address.<br>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">James Purdy
WildTV
[e]: <a class="moz-txt-link-abbreviated" href="mailto:james.purdy@wildtv.ca">james.purdy@wildtv.ca</a></pre>
<br>
On 06/20/2012 02:00 PM, Adam Heinz wrote:
<blockquote
cite="mid:CAKBdvM8qLeEYfhe8mwYAD8VXB6DfT5NXBc284ohuWvSvvx=mVg@mail.gmail.com"
type="cite">Interesting. Reading through your stack trace, it
looks like somehow you're looking up a NULL module. What version
of vTiger are you running? I'd take a look at the code around
<div><br>
</div>
<div><span style="">#4</span><br style="">
<span style="">/var/www/vtigercrm/modules/</span><span style="">MailManager/src/controllers/</span><span
style="">MailController.php(142):</span><br style="">
<span style="">getMergedDescription('<p>??bl;</span><span
style="">ah</p>?', '1', NULL)</span><br style="">
</div>
<div><font face="arial, sans-serif" color="#222222"><br>
</font></div>
<div><font face="arial, sans-serif" color="#222222">and try to
figure out where that NULL is coming from.</font></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
</blockquote>
</body>
</html>