 masquerade.module |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/masquerade.module b/masquerade.module
index 74b007b..7b63dc5 100644
--- a/masquerade.module
+++ b/masquerade.module
@@ -413,7 +413,7 @@ function masquerade_user_view($account, $view_mode, $langcode) {
         array('query' => array(
           'token' => drupal_get_token('masquerade/switch/' . $account->uid)),
           'destination' => $_GET['q'],
-          'attributes' => array('class' => 'masquerade-switch'),
+          'attributes' => array('class' => array('masquerade-switch')),
         )),
       '#weight' => 10,
     );
