Merge branch 'master' of bitbucket.org:colosa/processmaker

This commit is contained in:
Daniel Rojas
2014-04-29 08:52:52 -04:00
2 changed files with 6 additions and 2 deletions

View File

@@ -33,7 +33,6 @@
// include object class
//include_once 'classes/model/RbacUsers.php';
//die("----LAST --as");
/**
* Skeleton subclass for performing query and update operations on the 'USERS' table.
*

View File

@@ -1269,7 +1269,12 @@ class adminProxy extends HttpProxyController
$data = array('info' => array());
$pmRestClient = OauthClientsPeer::retrieveByPK('x-pm-local-client');
$status = ! empty($pmRestClient);
$row = $pmRestClient->toArray(BasePeer::TYPE_FIELDNAME);
if ($status) {
$row = $pmRestClient->toArray(BasePeer::TYPE_FIELDNAME);
} else {
$row = array("CLIENT_ID" => '');
}
$data['info'] = array(
array(