Changeset 1628

Show
Ignore:
Timestamp:
02/22/10 15:19:38 (5 months ago)
Author:
klemens
Message:

ullFlow: fixed creation of first history entry.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ullFlowPlugin/lib/model/doctrine/PluginUllFlowDoc.class.php

    r1203 r1628  
    288288     
    289289    $rs = $q->execute(); 
     290     
    290291    if (isset($rs[1])) 
    291292    { 
     
    406407   * sets the action to create 
    407408   * removes the comment to avoid duplication 
     409   * Sets the creator as assigned to 
     410   * Sets the step to the startstep 
    408411   * 
    409412   */ 
     
    412415    $i = $this->createMemory(); 
    413416    $this->UllFlowMemories[$i]->UllFlowAction = Doctrine::getTable('UllFlowAction')->findOneBySlug('create'); 
    414     $this->UllFlowMemories[$i]->comment = '';         
     417    $this->UllFlowMemories[$i]->comment = ''; 
     418    $this->UllFlowMemories[$i]->assigned_to_ull_entity_id = $this->getUserId(); 
     419    $this->UllFlowMemories[$i]->ull_flow_step_id = $this->UllFlowApp->findStartStep()->id; 
    415420  } 
    416421