From: Andrew Dolgov Date: Sun, 18 Jan 2009 10:16:02 +0000 (+0100) Subject: pref-labels: properly handle attemp to set label caption as blank X-Git-Tag: 1.3.0~85 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=625acd1cdf86b4c432210989caea2c5ab35b0783;p=tt-rss.git pref-labels: properly handle attemp to set label caption as blank --- diff --git a/modules/pref-labels.php b/modules/pref-labels.php index 6f284e94..f0398578 100644 --- a/modules/pref-labels.php +++ b/modules/pref-labels.php @@ -33,6 +33,8 @@ AND owner_uid = " . $_SESSION["uid"]); print $_REQUEST["value"]; + } else { + print $old_caption; } } else { print $old_caption;