diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-04-22 18:50:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-04-22 18:50:59 +0000 |
commit | e0166988fa511c39f3278bf738d1d2bfe21db2d6 (patch) | |
tree | 57095f33d1fec9ef2c6ebb4a0da5f7fef457438a /modules | |
parent | c32f544df903a83425e2968ff36a2792e188fa81 (diff) | |
download | brdo-e0166988fa511c39f3278bf738d1d2bfe21db2d6.tar.gz brdo-e0166988fa511c39f3278bf738d1d2bfe21db2d6.tar.bz2 |
- Drop some unneeded table-name qualifiers. Patch by Gary.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/statistics.module | 2 | ||||
-rw-r--r-- | modules/statistics/statistics.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/statistics.module b/modules/statistics.module index 46a347fbf..e5cd739ef 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -46,7 +46,7 @@ function statistics_exit() { // if we affected 0 rows, this is the first time viewing the node if (!db_affected_rows()) { // must create a new row to store counter's for new node - db_query("INSERT INTO statistics (nid, daycount, totalcount) VALUES('%d', statistics.daycount + 1, statistics.totalcount + 1)", arg(2)); + db_query("INSERT INTO statistics (nid, daycount, totalcount) VALUES('%d', daycount + 1, totalcount + 1)", arg(2)); } } } diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 46a347fbf..e5cd739ef 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -46,7 +46,7 @@ function statistics_exit() { // if we affected 0 rows, this is the first time viewing the node if (!db_affected_rows()) { // must create a new row to store counter's for new node - db_query("INSERT INTO statistics (nid, daycount, totalcount) VALUES('%d', statistics.daycount + 1, statistics.totalcount + 1)", arg(2)); + db_query("INSERT INTO statistics (nid, daycount, totalcount) VALUES('%d', daycount + 1, totalcount + 1)", arg(2)); } } } |