From: Krinkle Date: Tue, 22 Mar 2011 21:42:16 +0000 (+0000) Subject: Fixing bug 27764. Adding an extra if-check to make sure ['text'] is defined. In To... X-Git-Tag: 1.31.0-rc.0~31241 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=c0603070740e876a85bbb64d5d404786a597226c;p=lhc%2Fweb%2Fwiklou.git 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 --- 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'] ); + } + ?>