Revision 1211
Added by aldus almost 15 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.1 ------------------------------------- |
14 |
12-Dez-2009 Dietrich Roland Pehlke (Aldus) |
|
15 |
# Bugfix inside "search_modext.php" to avoid warings if the search found |
|
16 |
a page last modified by a user witch has been deleted. (ticket #863) |
|
14 | 17 |
03-Dez-2009 Dietmar Woellbrink (Luisehahne) |
15 | 18 |
! Ticket #890 fixed visability proprty uses non valid value 'none' |
16 | 19 |
03-Dez-2009 Dietmar Woellbrink (Luisehahne) |
branches/2.8.x/wb/search/search_modext.php | ||
---|---|---|
52 | 52 |
// make username and displayname for "last modified by... on ..."-string |
53 | 53 |
function get_page_modified_by($page_modified_by, $users) { |
54 | 54 |
global $TEXT; |
55 |
if($page_modified_by > 0) {
|
|
55 |
if ( ($page_modified_by > 0) && (count($users) > $page_modified_by) ) {
|
|
56 | 56 |
$username = $users[$page_modified_by]['username']; |
57 | 57 |
$displayname = $users[$page_modified_by]['display_name']; |
58 | 58 |
} else { |
Also available in: Unified diff
Bugfix inside "search_modext.php" to avoid warings if the search found a page last modified by a user witch has been deleted. (ticket #863)