improvement change logo for user
This commit is contained in:
@@ -80,12 +80,14 @@ class replacementLogo {
|
||||
* @param
|
||||
* @return array
|
||||
*/
|
||||
function getNameLogo() {
|
||||
function getNameLogo($usrUid) {
|
||||
|
||||
require_once 'classes/model/Configuration.php';
|
||||
$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 ();
|
||||
|
||||
Reference in New Issue
Block a user