summaryrefslogtreecommitdiffstats
path: root/lib/log.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-30 20:32:11 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-30 20:32:11 +0000
commit8eab507038dc3d844229051cf3f7dbcaee4897d4 (patch)
tree045dbc09132129a2d13da0a2a51d66cf982eeb68 /lib/log.lib.php
parent6eeea6fbcdd9a8a40bbcb94c767572e12a845551 (diff)
downloadampache-8eab507038dc3d844229051cf3f7dbcaee4897d4.tar.gz
ampache-8eab507038dc3d844229051cf3f7dbcaee4897d4.tar.bz2
ampache-8eab507038dc3d844229051cf3f7dbcaee4897d4.zip
slight format fix on now playing and xmlrpc key fixes
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);