- Bugfix: statistics.module can't give referrer statistics other than the
external ones with clean URLs. Patch by Ulf Rompe.4.2.x
parent
8fa3201762
commit
fe72ab1c22
|
@ -399,6 +399,10 @@ function statistics_admin_accesslog_table($type, $id) {
|
|||
function statistics_recent_refer($nid = 0) {
|
||||
global $HTTP_HOST, $view;
|
||||
|
||||
if (empty($view)) {
|
||||
$view = arg(3);
|
||||
}
|
||||
|
||||
$node = node_load(array("nid" => $nid));
|
||||
|
||||
if ($nid > 0) {
|
||||
|
|
|
@ -399,6 +399,10 @@ function statistics_admin_accesslog_table($type, $id) {
|
|||
function statistics_recent_refer($nid = 0) {
|
||||
global $HTTP_HOST, $view;
|
||||
|
||||
if (empty($view)) {
|
||||
$view = arg(3);
|
||||
}
|
||||
|
||||
$node = node_load(array("nid" => $nid));
|
||||
|
||||
if ($nid > 0) {
|
||||
|
|
Loading…
Reference in New Issue