From c0603070740e876a85bbb64d5d404786a597226c Mon Sep 17 00:00:00 2001 From: Krinkle Date: Tue, 22 Mar 2011 21:42:16 +0000 Subject: [PATCH] Fixing bug 27764. Adding an extra if-check to make sure ['text'] is defined. In To avoid wrapping multiple 'if shorthands', converted it to an actual if-statement at the same time --- skins/Vector.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/skins/Vector.php b/skins/Vector.php index c67d3c231c..5ee8f7290a 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -365,8 +365,14 @@ class VectorTemplate extends BaseTemplate {
msg('views') ?>
html('userlangattributes') ?>> - data['view_urls'] as $link ): ?> - >>' : htmlspecialchars( $link['text'] ) ) ?> + data['view_urls'] as $link ): ?> + >>' : htmlspecialchars( $link['text'] ); + } + ?>
-- 2.20.1