Fix notice ASSIGNEE y PMUSER.
This commit is contained in:
@@ -984,6 +984,9 @@ class Task
|
||||
public function getTaskAssignee($sProcessUID, $sTaskUID, $sAssigneeUID)
|
||||
{
|
||||
try {
|
||||
$filter = '';
|
||||
$start = null;
|
||||
$limit = null;
|
||||
$oProcess = \ProcessPeer::retrieveByPK( $sProcessUID );
|
||||
if (is_null($oProcess)) {
|
||||
throw (new \Exception( 'This id for `prj_uid`: '. $sProcessUID .' do not correspond to a registered process'));
|
||||
@@ -1530,6 +1533,9 @@ class Task
|
||||
public function getTaskAdhocAssignee($sProcessUID, $sTaskUID, $sAssigneeUID)
|
||||
{
|
||||
try {
|
||||
$filter = '';
|
||||
$start = null;
|
||||
$limit = null;
|
||||
$oProcess = \ProcessPeer::retrieveByPK( $sProcessUID );
|
||||
if (is_null($oProcess)) {
|
||||
throw (new \Exception( 'This id for `prj_uid`: '. $sProcessUID .' do not correspond to a registered process'));
|
||||
|
||||
@@ -649,6 +649,7 @@ class User
|
||||
public function getUsers($filter, $start, $limit)
|
||||
{
|
||||
try {
|
||||
$aUserInfo = array();
|
||||
require_once (PATH_TRUNK . "workflow" . PATH_SEP . "engine" . PATH_SEP . "classes" . PATH_SEP . "model" . PATH_SEP . "Users.php");
|
||||
$oCriteria = new \Criteria();
|
||||
if ($filter != '') {
|
||||
@@ -696,6 +697,7 @@ class User
|
||||
public function getUser($userUid)
|
||||
{
|
||||
try {
|
||||
$aUserInfo = array();
|
||||
$oUser = \UsersPeer::retrieveByPK($userUid);
|
||||
if (is_null($oUser)) {
|
||||
throw (new \Exception( 'This id for `usr_uid`: '. $userUid .' do not correspond to a registered user'));
|
||||
|
||||
Reference in New Issue
Block a user