- Bugfix: statistics.module can't give referrer statistics other than the

external ones with clean URLs.  Patch by Ulf Rompe.
4.2.x
Dries Buytaert 2003-01-16 22:27:01 +00:00
parent 8fa3201762
commit fe72ab1c22
2 changed files with 8 additions and 0 deletions

View File

@ -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) {

View File

@ -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) {