Fix notice ASSIGNEE y PMUSER.

This commit is contained in:
Freddy Daniel Rojas Valda
2014-02-10 08:48:31 -04:00
parent f6839233b5
commit 0986b5daa9
2 changed files with 8 additions and 0 deletions

View File

@@ -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'));