This bug 6193 was fixed, logo shows per server

This commit is contained in:
Carlos Pacha
2011-02-22 22:17:52 +00:00
parent 9897b2868e
commit cccabd3ff6
2 changed files with 3 additions and 5 deletions

View File

@@ -90,8 +90,6 @@ class replacementLogo {
$oCriteria = new Criteria ( 'workflow' );
$oCriteria->addSelectColumn ( ConfigurationPeer::CFG_VALUE );
$oCriteria->add ( ConfigurationPeer::CFG_UID, 'USER_LOGO_REPLACEMENT' );
$oCriteria->add ( ConfigurationPeer::USR_UID, $usrUid );
$oCriteria->add ( ConfigurationPeer::USR_UID, $usrUid );
$oDataset = ConfigurationPeer::doSelectRS ( $oCriteria );
$oDataset->next ();
$aRow = $oDataset->getRow ();

View File

@@ -51,7 +51,7 @@ try {//ini_set('display_errors','1');
);
$oConf->aConfig = $aConf;
$oConf->saveConfig('USER_LOGO_REPLACEMENT', '', '',$_SESSION['USER_LOGGED']);
$oConf->saveConfig('USER_LOGO_REPLACEMENT', '', '','');
G::SendTemporalMessage('ID_REPLACED_LOGO', 'tmp-info', 'labels');
//header('location: uplogo.php');
@@ -67,7 +67,7 @@ try {//ini_set('display_errors','1');
);
$oConf->aConfig = $aConf;
$oConf->saveConfig('USER_LOGO_REPLACEMENT', '', '',$_SESSION['USER_LOGGED']);
$oConf->saveConfig('USER_LOGO_REPLACEMENT', '', '','');
G::SendTemporalMessage('ID_REPLACED_LOGO', 'tmp-info', 'labels');
@@ -81,4 +81,4 @@ try {//ini_set('display_errors','1');
catch (Exception $oException) {
die($oException->getMessage());
}
?>
?>