diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-30 20:32:11 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-30 20:32:11 +0000 |
commit | 8eab507038dc3d844229051cf3f7dbcaee4897d4 (patch) | |
tree | 045dbc09132129a2d13da0a2a51d66cf982eeb68 /lib/log.lib.php | |
parent | 6eeea6fbcdd9a8a40bbcb94c767572e12a845551 (diff) | |
download | ampache-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.php | 7 |
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); |