[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14989]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [14989] |
Date: |
Tue, 10 May 2016 00:31:24 +0000 (UTC) |
Revision: 14989
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14989
Author: nelson224
Date: 2016-05-10 00:31:24 +0000 (Tue, 10 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-10 00:31:05 UTC (rev 14988)
+++ branches/dev-syncromind-2/property/inc/class.uigeneric_document.inc.php
2016-05-10 00:31:24 UTC (rev 14989)
@@ -333,9 +333,9 @@
if (!$values)
{
- $values = (array)
$this->bo->read_single($id);
- $values['id'] = $id;
+ $values = (array)
$this->bo->read_single($id);
}
+ $values['id'] = $id;
}
if ($values['report_date'])
@@ -608,7 +608,7 @@
}
$bofiles = CreateObject('property.bofiles');
-
+
$file_name = str_replace(' ', '_',
$_FILES['file']['name']);
if ($file_name)
@@ -634,6 +634,7 @@
$file_id = $bofiles->vfs->cp3(array(
'from' =>
$_FILES['file']['tmp_name'],
'to' => $to_file,
+ 'id' => $id,
'relatives' =>
array(RELATIVE_NONE | VFS_REAL, RELATIVE_ALL)));
$bofiles->vfs->override_acl = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14989],
nelson . guerra <=