CC-1977: Allow multiple files to be selected and acted upon in the library and playlist
- Fixed issues in "Manage Users" page - Moved some code to more appropriate place
This commit is contained in:
parent
186aa9e898
commit
258521ffbf
3 changed files with 74 additions and 57 deletions
|
@ -236,8 +236,10 @@ class Application_Model_User {
|
|||
|
||||
// mark record which is for the current user
|
||||
foreach($res['aaData'] as &$record){
|
||||
if($record[1] == $username){
|
||||
$record[5] = "self";
|
||||
if($record['login'] == $username){
|
||||
$record['delete'] = "self";
|
||||
} else {
|
||||
$record['delete'] = "";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue