summaryrefslogtreecommitdiffstats
path: root/wpmu-settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'wpmu-settings.php')
-rw-r--r--wpmu-settings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpmu-settings.php b/wpmu-settings.php
index 5a0f8ae..da9802f 100644
--- a/wpmu-settings.php
+++ b/wpmu-settings.php
@@ -71,7 +71,7 @@ function wpmu_current_site() {
return $current_site;
}
-$wpdb->hide_errors();
+$wpdb->suppress_errors();
$sites = $wpdb->get_results( "SELECT * FROM $wpdb->site" ); // usually only one site
if( count( $sites ) == 1 ) {
$current_site = $sites[0];
@@ -169,7 +169,7 @@ if( $blog_id == false ) {
}
}
-$wpdb->show_errors();
+$wpdb->suppress_errors( false );
if( '0' == $current_blog->public ) {
// This just means the blog shouldn't show up in google, etc. Only to registered members