Yoast/google-analytics-for-wordpress — pull request #166 by nerrad (2014-11-28 14:10:33+00:00)
Title: verify $current_user->roles array not empty before check

Logged in users may be visiting frontend of sites (on multisite) for which they have no role. This prevents `undefined offset 0` notices.