BUG 8391 "Request that an "Edit" button be added to the..." SOLVED

- New feature
- Request that an "Edit" button be added to the page to view the
  profile of a particular user
- Added edit button in Summary view
* Available from version 2.0.46
This commit is contained in:
Victor Saisa Lopez
2012-11-16 10:05:20 -04:00
parent 5301020528
commit 97cef89539
4 changed files with 24 additions and 17 deletions

View File

@@ -138,9 +138,9 @@ class Users extends BaseUsers
$aIsoSubdivision = IsoSubdivision::findById( $aFields['USR_COUNTRY'], $aFields['USR_CITY'] );
$aIsoLocation = IsoLocation::findById( $aFields['USR_COUNTRY'], $aFields['USR_CITY'], $aFields['USR_LOCATION'] );
$aFields['USR_COUNTRY_NAME'] = $aIsoCountry['IC_NAME'];
$aFields['USR_CITY_NAME'] = $aIsoSubdivision['IS_NAME'];
$aFields['USR_LOCATION_NAME'] = $aIsoLocation['IL_NAME'];
$aFields["USR_COUNTRY_NAME"] = (!empty($aIsoCountry["IC_NAME"]))? $aIsoCountry["IC_NAME"] : "";
$aFields["USR_CITY_NAME"] = (!empty($aIsoSubdivision["IS_NAME"]))? $aIsoSubdivision["IS_NAME"] : "";
$aFields["USR_LOCATION_NAME"] = (!empty($aIsoLocation["IL_NAME"]))? $aIsoLocation["IL_NAME"] : "";
$result = $aFields;