WordPress.org

Make WordPress Core

Changeset 7037


Ignore:
Timestamp:
02/26/2008 09:45:51 AM (10 years ago)
Author:
ryan
Message:

Silence warnings if error_log is disabled. fixes #5771

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-db.php

    r7028 r7037  
    185185        if ( $caller = $this->get_caller() )
    186186            $error_str .= " made by $caller";
    187         error_log($error_str, 0);
     187        @error_log($error_str, 0);
    188188
    189189        // Is error output turned on or not..
Note: See TracChangeset for help on using the changeset viewer.