summaryrefslogtreecommitdiff
path: root/modules/pref-labels.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-18 11:16:02 +0100
committerAndrew Dolgov <[email protected]>2009-01-18 11:16:02 +0100
commit625acd1cdf86b4c432210989caea2c5ab35b0783 (patch)
treef3200cff7684ae01757ec400c81be3a3c6eb8cde /modules/pref-labels.php
parentf6f7817d9d275c4e7fc344758c0ca0ffbf925884 (diff)
pref-labels: properly handle attemp to set label caption as blank
Diffstat (limited to 'modules/pref-labels.php')
-rw-r--r--modules/pref-labels.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/pref-labels.php b/modules/pref-labels.php
index 6f284e942..f03985780 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;