<div dir="ltr"><div><div><div><div>Hi,<br><br></div>How do you force the user object to update if you know it has been changed elsewhere?<br><br>It looks like I need something along the lines of:<br><br>      my $changed_user = $c-&gt;find_user( { id =&gt; $user_id } );<br>      $c-&gt;user($changed_user);<br>      $c-&gt;persist_user;<br><br></div>but it&#39;s very clumsy and doesn&#39;t work anyway.<br><br></div>Thanks<br><br></div>Duncan<br></div>

<br>
<font face="Arial" size="1" style="color:rgb(34,34,34);background-color:rgb(255,255,255)"><font color="#808080">The information contained in this message is for the intended addressee only and may contain confidential and/or privileged information. If you are not the intended addressee, please delete this message and notify the sender; do not copy or distribute this message or disclose its contents to anyone. Any views or opinions expressed in this message are those of the author and do not necessarily represent those of Motortrak Limited or of any of its associated companies. No reliance may be placed on this message without written confirmation from an authorised representative of the company.</font></font><div style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)"><font color="#808080"><font face="Arial" size="1"><br>Registered in England 3098391 V.A.T. Registered No. 667463890</font></font></div>