Skip to content

Commit

Permalink
Issue #46 - Disable warning from fopen() since we check $handle anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Jan 4, 2017
1 parent 8c6a7a4 commit 7f06006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/bwtrace.php
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ function bw_write( $file, $line ) {
if ( !$file ) {
return( 0 );
}
$handle = fopen( $file, "a" );
$handle = @fopen( $file, "a" );
if ( $handle === FALSE ) {
//bw_trace_off();
// It would be nice to let them know...
Expand Down

0 comments on commit 7f06006

Please sign in to comment.