mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
force reload of workflow transitions after adding new transition
This commit is contained in:
parent
e94778ee70
commit
f2eac265f9
|
@ -260,6 +260,10 @@ class SeedDMS_Core_Workflow { /* {{{ */
|
|||
return false;
|
||||
}
|
||||
|
||||
/* force reloading all transitions otherwise getTransition() will fail if two
|
||||
* transitions are added in a row, without reloading the workflow
|
||||
*/
|
||||
$this->_transitions = array();
|
||||
$transition = $this->getTransition($db->getInsertID());
|
||||
|
||||
foreach($users as $user) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user