Skip to content

Commit

Permalink
avoid notices.
Browse files Browse the repository at this point in the history
  • Loading branch information
boonebgorges committed May 2, 2018
1 parent 8e2e7b8 commit 8cd72d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down

0 comments on commit 8cd72d2

Please sign in to comment.