- Bug #21452 reported by njivy: added missing return to tracker_user_page().
It did not return nor print its output.4.7.x
parent
15cf9e1a72
commit
38402b6c91
|
@ -60,7 +60,7 @@ function tracker_menu($may_cache) {
|
|||
function tracker_track_user() {
|
||||
if ($account = user_load(array('uid' => arg(1)))) {
|
||||
drupal_set_title($account->name);
|
||||
tracker_page($account->uid);
|
||||
return tracker_page($account->uid);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ function tracker_menu($may_cache) {
|
|||
function tracker_track_user() {
|
||||
if ($account = user_load(array('uid' => arg(1)))) {
|
||||
drupal_set_title($account->name);
|
||||
tracker_page($account->uid);
|
||||
return tracker_page($account->uid);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue