summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wehner2012-01-16 18:19:25 (GMT)
committer Daniel Wehner2012-01-16 18:19:38 (GMT)
commit931d2c59f5b069bb7773e640e34a5e458e05fcd6 (patch)
tree5f8a96e614156bdbecc918ebeb8496c0769640fd
parentc6a7a3059f0a25de5cdbc60a658e4fad1e1512df (diff)
#1397906 by dereine: Add a default value to fix some notice
-rw-r--r--plugins/views_plugin_display.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/views_plugin_display.inc b/plugins/views_plugin_display.inc
index 29ea636..663ab76 100644
--- a/plugins/views_plugin_display.inc
+++ b/plugins/views_plugin_display.inc
@@ -1578,6 +1578,7 @@ class views_plugin_display extends views_plugin {
// Default text.
// We have some options, so make a list.
+ $output = '';
if (!empty($options)) {
$output = t('<p>The following tokens are available for this link.</p>');
foreach (array_keys($options) as $type) {