HOR-1462
This commit is contained in:
@@ -111,13 +111,13 @@ try {
|
|||||||
//verify if the case is with the current user
|
//verify if the case is with the current user
|
||||||
$c = new Criteria( 'workflow' );
|
$c = new Criteria( 'workflow' );
|
||||||
$c->add( AppDelegationPeer::APP_UID, $sAppUid );
|
$c->add( AppDelegationPeer::APP_UID, $sAppUid );
|
||||||
$c->addAscendingOrderByColumn( AppDelegationPeer::DEL_INDEX );
|
$c->add( AppDelegationPeer::DEL_THREAD_STATUS, 'OPEN' );
|
||||||
|
$c->add( AppDelegationPeer::DEL_INDEX, $iDelIndex );
|
||||||
$oDataset = AppDelegationPeer::doSelectRs( $c );
|
$oDataset = AppDelegationPeer::doSelectRs( $c );
|
||||||
$oDataset->setFetchmode( ResultSet::FETCHMODE_ASSOC );
|
$oDataset->setFetchmode( ResultSet::FETCHMODE_ASSOC );
|
||||||
$oDataset->next();
|
$oDataset->next();
|
||||||
$aData = $oDataset->getRow();
|
$aData = $oDataset->getRow();
|
||||||
|
if ($aData['USR_UID'] !== $_SESSION['USER_LOGGED'] && $aData['USR_UID'] !== '') {
|
||||||
if ($aData['USR_UID'] != $_SESSION['USER_LOGGED'] && $aData['USR_UID'] != "") {
|
|
||||||
//distinct "" for selfservice
|
//distinct "" for selfservice
|
||||||
//so we show just the resume
|
//so we show just the resume
|
||||||
$_SESSION['alreadyDerivated'] = true;
|
$_SESSION['alreadyDerivated'] = true;
|
||||||
@@ -131,6 +131,7 @@ try {
|
|||||||
require_once (PATH_METHODS . 'cases' . PATH_SEP . 'cases_Resume.php');
|
require_once (PATH_METHODS . 'cases' . PATH_SEP . 'cases_Resume.php');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//proceed and try to open the case
|
//proceed and try to open the case
|
||||||
|
|||||||
Reference in New Issue
Block a user