From 625acd1cdf86b4c432210989caea2c5ab35b0783 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 18 Jan 2009 11:16:02 +0100 Subject: [PATCH] pref-labels: properly handle attemp to set label caption as blank --- modules/pref-labels.php | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5