summaryrefslogtreecommitdiffstats
path: root/lib/class/stats.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/stats.class.php')
-rw-r--r--lib/class/stats.class.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/class/stats.class.php b/lib/class/stats.class.php
index 057d2534..004e7b46 100644
--- a/lib/class/stats.class.php
+++ b/lib/class/stats.class.php
@@ -61,6 +61,10 @@ class Stats {
" VALUES ('$type','$oid','$date','$user')";
$db_results = mysql_query($sql,dbh());
+ if (!$db_results) {
+ debug_event('statistics','Unabled to insert statistics:' . $sql,'3');
+ }
+
} // insert
/**