summaryrefslogtreecommitdiffstats
path: root/lib/log.lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.lib.php')
-rw-r--r--lib/log.lib.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/log.lib.php b/lib/log.lib.php
index ed19984c..01a56be1 100644
--- a/lib/log.lib.php
+++ b/lib/log.lib.php
@@ -89,6 +89,13 @@ function ampache_error_handler($errno, $errstr, $errfile, $errline) {
return false;
}
+ /* The XML-RPC lib is broken, well kind of
+ * shut your pie hole
+ */
+ if (strstr($errstr,"used as offset, casting to integer")) {
+ return false;
+ }
+
$log_line = "[$error_name] $errstr on line $errline in $errfile";
debug_event('error',$log_line,$level);