includes/stats.php
changeset 322 5f1cd51bf1be
parent 166 d53cc29308f4
child 387 92664d2efab8
--- a/includes/stats.php	Sat Dec 15 18:10:14 2007 -0500
+++ b/includes/stats.php	Tue Dec 18 23:44:55 2007 -0500
@@ -2,7 +2,7 @@
 
 /*
  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
- * Version 1.1.1
+ * Version 1.0.3 (Dyrad)
  * Copyright (C) 2006-2007 Dan Fuhry
  * stats.php - handles statistics for pages (disablable in the admin CP)
  *
@@ -22,7 +22,7 @@
   {
     if(!$page_id || !$namespace)
     {
-      $page_id = $paths->cpage['urlname_nons'];
+      $page_id = $paths->page_id;
       $namespace = $paths->namespace;
     }
     if($namespace == 'Special' || $namespace == 'Admin')