File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -599,11 +599,13 @@ protected static function WriteKeyboardDetails() {
599599 echo " <a id='expand-languages' href='#expand-languages'>Expand $ count more >></a> " ;
600600 echo "<a id='collapse-languages' href='#collapse-languages'><< Collapse</a> <span class='expand-languages'> " ;
601601 }
602- echo
603- "<a href='/keyboards?q=l:id: " .htmlspecialchars (rawurlencode ($ bcp47 )).
604- "' title=' " .htmlspecialchars ($ bcp47 ).": " .htmlspecialchars ($ detail ->displayName )."'> " .
605- (!strcasecmp ($ bcp47 , self ::$ bcp47 ) ? "<mark> " .htmlspecialchars ($ detail ->languageName )."</mark> " : htmlspecialchars ($ detail ->languageName )).
606- "</a> " ;
602+ if (array_key_exists ('languageName ' , $ detail )) {
603+ echo
604+ "<a href='/keyboards?q=l:id: " .htmlspecialchars (rawurlencode ($ bcp47 )).
605+ "' title=' " .htmlspecialchars ($ bcp47 ).": " .htmlspecialchars ($ detail ->displayName )."'> " .
606+ (!strcasecmp ($ bcp47 , self ::$ bcp47 ) ? "<mark> " .htmlspecialchars ($ detail ->languageName )."</mark> " : htmlspecialchars ($ detail ->languageName )).
607+ "</a> " ;
608+ }
607609 $ n ++;
608610 }
609611 if ($ n >= 3 ) {
You can’t perform that action at this time.
0 commit comments