<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font size="4">Hi Beppo,</font></p>
    <p><font size="4">thank you very much, the fix works.</font></p>
    <p><font size="4">I was working on a different path: searching which
        commit broke this feature in 8.4, but didn't find it</font></p>
    <p><font size="4">Probably the issue arises in handling booleans in
        new PHP versions</font></p>
    <p><font size="4">In step1 of an Edit we have:</font></p>
    <p><font size="4"><img src="cid:part1.qHCgqkp5.hpLULPzl@vinsoft.it"
          alt=""><br>
      </font></p>
    <p>In step 1 of a Duplicate instead we had (without your patch):</p>
    <p><img src="cid:part2.6bKqJBmh.Gz27M0XW@vinsoft.it" alt=""></p>
    <p>whit your patch:</p>
    <p><img src="cid:part3.kfiHEAVO.4bwvKon0@vinsoft.it" alt=""></p>
    <p><br>
    </p>
    <p>Maybe "false" value is not treated correctly anymore and this
      could impact many more features in the code.</p>
    <p>Vincenzo</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Il 23/02/26 16:29, Giuseppe Mazzucato
      ha scritto:<br>
    </div>
    <blockquote type="cite"
      cite="mid:d0caec13-832a-4009-9cec-ca26d57a6c03@beppo.it">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      To solve add just one line in file  modules/Reports/views/Edit.php<br>
      <br>
      133        if ($request->get('isDuplicate')) {<br>
      134           $viewer->assign('IS_DUPLICATE', true);<br>
      135        }<br>
       +++       else    $viewer->assign('IS_DUPLICATE', false);     
      //this is the line to add<br>
       136       $viewer->view('Step1.tpl', $moduleName);<br>
      <br>
      Best regards<br>
      <br>
      Beppo<br>
      <br>
      <div class="moz-cite-prefix">Il 23/02/26 16:16, Vincenzo Bruno ha
        scritto:<br>
      </div>
      <blockquote type="cite"
        cite="mid:f48c2eec-8a0a-4b8a-a3f2-53cc12081fb5@vinsoft.it">
        <meta http-equiv="Content-Type"
          content="text/html; charset=UTF-8">
        <p><font size="4">I confirm the issue in 8.4, not present in 8.3</font></p>
        <p><font size="4">Looking for the cause</font></p>
        <p><font size="4">Vincenzo</font></p>
        <p><font size="4"> </font></p>
        <div class="moz-cite-prefix">Il 19/02/26 01:09, Alexander Allen
          ha scritto:<br>
        </div>
        <blockquote type="cite"
cite="mid:CAFpJncTF6PoZk=FX2a0NyWFvuYjxtWJ-eX84BGK0BLZ5z9gRKA@mail.gmail.com">
          <meta http-equiv="content-type"
            content="text/html; charset=UTF-8">
          <div dir="ltr">
            <div>Hello Everyone, have you notice that installing a fresh
              version of Vtiger 8.4 the reports module has this error.</div>
            <div><br>
            </div>
            <div>If you create a Report and then you Edit it, Vtiger
              creates a new report with the same name and then you get
              two reports. </div>
          </div>
          <br>
        </blockquote>
        <pre class="moz-signature" cols="72">-- 
Vincenzo Bruno
Coopyleft soc. coop. a r.l.
<a class="moz-txt-link-abbreviated" href="http://www.coopyleft.it"
        moz-do-not-send="true">www.coopyleft.it</a>
tel: 3287252923
    
</pre>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre wrap="" class="moz-quote-pre">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/"
        moz-do-not-send="true">http://www.vtiger.com/</a></pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Vincenzo Bruno
Coopyleft soc. coop. a r.l.
<a class="moz-txt-link-abbreviated" href="http://www.coopyleft.it">www.coopyleft.it</a>
tel: 3287252923
    
</pre>
  </body>
</html>