diff options
Diffstat (limited to 'lib/class/stats.class.php')
-rw-r--r-- | lib/class/stats.class.php | 4 |
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 /** |