phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] projects/inc class.uiprojects.inc.php


From: Bettina Gille
Subject: [Phpgroupware-cvs] projects/inc class.uiprojects.inc.php
Date: Thu, 13 Apr 2006 22:41:58 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    projects
Branch:         
Changes by:     Bettina Gille <address@hidden>  06/04/13 22:41:58

Modified files:
        inc            : class.uiprojects.inc.php 

Log message:
        attached_files

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/projects/inc/class.uiprojects.inc.php.diff?tr1=1.159&tr2=1.160&r1=text&r2=text

Patches:
Index: projects/inc/class.uiprojects.inc.php
diff -u projects/inc/class.uiprojects.inc.php:1.159 
projects/inc/class.uiprojects.inc.php:1.160
--- projects/inc/class.uiprojects.inc.php:1.159 Sun Apr 10 22:40:36 2005
+++ projects/inc/class.uiprojects.inc.php       Thu Apr 13 22:41:58 2006
@@ -6,7 +6,7 @@
        * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package projects
-       * @version $Id: class.uiprojects.inc.php,v 1.159 2005/04/10 22:40:36 
ceb Exp $
+       * @version $Id: class.uiprojects.inc.php,v 1.160 2006/04/13 22:41:58 
ceb Exp $
        * $Source: 
/cvsroot/phpgroupware/projects/inc/class.uiprojects.inc.php,v $
        */
 
@@ -48,7 +48,7 @@
                        $this->boprojects                               = 
$this->ui_base->boprojects;
                        $this->nextmatchs                               = 
CreateObject('phpgwapi.nextmatchs');
 
-                       $this->attached_files                   = 
CreateObject('filemanager.uiactions');
+                       $this->attached_files                   = 
CreateObject('filemanager.attached_files');
 
                        $this->start                                    = 
$this->boprojects->start;
                        $this->query                                    = 
$this->boprojects->query;
@@ -857,7 +857,7 @@
                                else
                                {
                                        $project_id = 
$this->boprojects->save_project($action, $values);
-                                       
$this->attached_files->save_file($project_id);
+                                       
$this->attached_files->save_file(array('action_id' => $project_id));
                                        $link_data['project_id'] = $project_id;
                                        if($_POST['save'])
                                        {




reply via email to

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