Revision: 20793
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20793
Author:   maat
Date:     2009-11-17 18:07:14 +0000 (Tue, 17 Nov 2009)
Log Message:
-----------
change name of files automatically inserted during review steps of workflow.
the new names will use linked doc type instead of it's name
shorter they are easier to read

Modified Paths:
--------------
    modules/ged/trunk/inc/class.flow_client.inc.php

Modified: modules/ged/trunk/inc/class.flow_client.inc.php
===================================================================
--- modules/ged/trunk/inc/class.flow_client.inc.php     2009-11-17 17:34:52 UTC 
(rev 20792)
+++ modules/ged/trunk/inc/class.flow_client.inc.php     2009-11-17 18:07:14 UTC 
(rev 20793)
@@ -175,8 +175,8 @@
                                
$new_file['file_tmp_name']=$_FILES['file']['tmp_name'];
                                
$new_file['file_mime_type']=$_FILES['file']['type'];
                                
-                               
$new_file['doc_type_ref']=$review_file_type_for_transition;
-                               
$new_file['name']=$this->ged_dm->get_type_desc($new_file['doc_type_ref'])." / 
".$element['reference'];
+                               
$new_file['doc_type']=$review_file_type_for_transition;
+                               
$new_file['name']=$this->ged_dm->get_type_std_ref($new_file['doc_type'])." / 
".$element['reference'];
                                $new_file['description']=$comment;
                                
$new_file['reference']=$next_reference_for_review_file;
                                $new_file['major']=0;



_______________________________________________
phpGroupWare-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs

Reply via email to