Skip to content
Browse files

Hilite also empty stings.

  • Loading branch information...
1 parent fe8bc4c commit 4dddd64b5f65ad7c379af2337ed7f845516acdb2 paca70 committed Apr 19, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/lang.php
View
2 admin/lang.php
@@ -189,7 +189,7 @@
$value = str_replace("%%","%",$value);
$value = htmlspecialchars($value);
- $cellcolour = $value ? $THEME->cellcontent: $THEME->highlight;
+ $cellcolour = $value==="" ? $THEME->highlight: $THEME->cellcontent;
if ($editable) {
echo "<TD WIDTH=40% BGCOLOR=\"$cellcolour\" VALIGN=TOP>";

0 comments on commit 4dddd64

Please sign in to comment.
Something went wrong with that request. Please try again.