fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14976]


From: Nelson Guerra
Subject: [Fmsystem-commits] [14976]
Date: Thu, 05 May 2016 23:31:11 +0000

Revision: 14976
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14976
Author:   nelson224
Date:     2016-05-05 23:31:11 +0000 (Thu, 05 May 2016)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind-2/property/inc/class.uigeneric_document.inc.php

Modified: 
branches/dev-syncromind-2/property/inc/class.uigeneric_document.inc.php
===================================================================
--- branches/dev-syncromind-2/property/inc/class.uigeneric_document.inc.php     
2016-05-05 23:30:47 UTC (rev 14975)
+++ branches/dev-syncromind-2/property/inc/class.uigeneric_document.inc.php     
2016-05-05 23:31:11 UTC (rev 14976)
@@ -332,10 +332,12 @@
 
                                if (!$values)
                                {
-                                       $values = 
array();//$this->bo->read_single(array('id' => $id, 'view' => $mode == 'view'));
+                                       $values = (array) 
$this->bo->read_single($id);
                                }
                        }
 
+                       $values['report_date'] = date($this->dateFormat, 
$values['report_date']);
+                       
                        $categories = $this->_get_categories($values['cat_id']);
 
                        self::message_set($this->receipt);
@@ -462,7 +464,7 @@
                                try
                                {
                                        $file_id = $this->_handle_files($id);
-                                       //$id = $this->bo->save($values);
+                                       $id = $this->bo->save($values, 
$file_id);
                                }
                                catch (Exception $e)
                                {




reply via email to

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