From 8cd72d24acdda7e28b22baa440403c1c9e74bc13 Mon Sep 17 00:00:00 2001 From: Boone B Gorges Date: Tue, 1 May 2018 22:15:29 -0500 Subject: [PATCH] avoid notices. --- classes/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Client.php b/classes/Client.php index 178a555a..65ff4a93 100644 --- a/classes/Client.php +++ b/classes/Client.php @@ -59,7 +59,7 @@ public static function set_up_app() { } // @todo This is awful. - $clients = get_blog_option( $server_site_id, 'webwork_clients' ); + $clients = get_blog_option( $server_site_id, 'webwork_clients', array() ); $remote_course_url = array_search( get_current_blog_id(), $clients ); $user_is_admin = current_user_can( 'edit_others_posts' );