This commit is contained in:
Paula V. Quispe
2016-07-26 14:25:02 -04:00
parent 057bdbe356
commit 5d7eaae46b

View File

@@ -111,13 +111,13 @@ try {
//verify if the case is with the current user
$c = new Criteria( 'workflow' );
$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->setFetchmode( ResultSet::FETCHMODE_ASSOC );
$oDataset->next();
$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
//so we show just the resume
$_SESSION['alreadyDerivated'] = true;
@@ -131,6 +131,7 @@ try {
require_once (PATH_METHODS . 'cases' . PATH_SEP . 'cases_Resume.php');
exit();
}
}
//proceed and try to open the case