fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [11702] Custom action for catch_3_1


From: Sigurd Nes
Subject: [Fmsystem-commits] [11702] Custom action for catch_3_1
Date: Sat, 15 Feb 2014 15:13:36 +0000

Revision: 11702
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11702
Author:   sigurdne
Date:     2014-02-15 15:13:36 +0000 (Sat, 15 Feb 2014)
Log Message:
-----------
Custom action for catch_3_1

Modified Paths:
--------------
    trunk/catch/inc/custom/default/notify_by_email_3_1.php

Modified: trunk/catch/inc/custom/default/notify_by_email_3_1.php
===================================================================
--- trunk/catch/inc/custom/default/notify_by_email_3_1.php      2014-02-15 
15:01:39 UTC (rev 11701)
+++ trunk/catch/inc/custom/default/notify_by_email_3_1.php      2014-02-15 
15:13:36 UTC (rev 11702)
@@ -106,6 +106,7 @@
                {
                        $_kontraktsnummer        = 
$this->db->f('kontraktsnummer');
                        $this->db->query("SELECT num FROM $target_table WHERE 
id != {$id} AND kontraktsnummer = '{$_kontraktsnummer}'", __LINE__, __FILE__);
+                       $this->db->next_record();
                        $_duplicate_num          = $this->db->f('num');
                }
 
@@ -136,7 +137,7 @@
                $attachments[] = array
                (
                        'file' => $report_fname,
-                       'name' => "NLSH_melding_om_innflytting_{$id}",
+                       'name' => "NLSH_melding_om_innflytting_{$id}.pdf",
                        'type' => 'application/pdf'
                );
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]