From 6546c826432b5c18c22a2ac2cd7dd1d77a7002c3 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sat, 13 May 2006 07:27:16 +0000 Subject: fixed playlists thing for real this time --- lib/log.lib.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/log.lib.php') diff --git a/lib/log.lib.php b/lib/log.lib.php index d187fa60..a82338f0 100644 --- a/lib/log.lib.php +++ b/lib/log.lib.php @@ -81,6 +81,10 @@ function ampache_error_handler($errno, $errstr, $errfile, $errline) { break; } // end switch + /* Don't log var: Deprecated we know shutup! */ + if (strstr($errstr,"var: Deprecated. Please use the public/private/protected modifiers")) { + return false; + } $log_line = "[$error_name] $errstr on line $errline in $errfile"; debug_event('error',$log_line,$level); -- cgit