From: paca70 Date: Sat, 19 Apr 2003 10:25:58 +0000 (+0000) Subject: Hilite also empty stings. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4dddd64b5f65ad7c379af2337ed7f845516acdb2;p=moodle.git Hilite also empty stings. --- diff --git a/admin/lang.php b/admin/lang.php index 2a416d0bb7..f11e99e1c4 100644 --- a/admin/lang.php +++ b/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 "";