Changeset 3785
- Timestamp:
- 07/28/07 02:52:45 (3 years ago)
- Files:
-
- 1 modified
-
trunk/components/Textcube.Data.BlogStatistics.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/components/Textcube.Data.BlogStatistics.php
r3124 r3785 17 17 global $database, $owner; 18 18 $this->reset(); 19 if ($result = mysql_query("SELECT visits FROM {$database['prefix']}BlogStatistics WHERE owner = $owner")) {19 if ($result = mysql_query("SELECT visits FROM {$database['prefix']}BlogStatistics WHERE blogid = ".getBlogId())) { 20 20 if ($row = mysql_fetch_assoc($result)) { 21 21 foreach ($row as $name => $value) {
