DoSomething/paraneue — pull request #47 by mmwtsn (2014-03-14 14:28:12+00:00)
Title: Tabs!

## Issue
Drupal's admin `$tabs` is populated regardless of whether or not it has content to render. This causes the [current wrapping element](https://github.com/DoSomething/paraneue/blob/master/paraneue/templates/system/page.tpl.php#L40) for every user regardless of authentication state.

### `$tabs` array
![tabs](https://f.cloud.github.com/assets/1479130/2421630/77398168-ab84-11e3-8ba5-a88f3b2a04a7.png)

## Fix
Check explicitly against a deeper nested element in the array rather than the `$tabs` array itself (which is always set).

## Question
Will the value checked against always be present? It's not the end of the world if we're missing the admin tabs and this is easy enough to debug if something goes awry.

This is tested across authenticated admin, non-admin and unauthenticated users.

Fixes DoSomething/dosomething#1244