]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref-labels: properly handle attemp to set label caption as blank
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 18 Jan 2009 10:16:02 +0000 (11:16 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 18 Jan 2009 10:16:02 +0000 (11:16 +0100)
modules/pref-labels.php

index 6f284e942805a1169456930de7986a3ec32cc3de..f03985780cfcd63e6115403d87ba5c5f24b5e481 100644 (file)
@@ -33,6 +33,8 @@
                                                        AND owner_uid = " . $_SESSION["uid"]);
 
                                                print $_REQUEST["value"];
+                                       } else {
+                                               print $old_caption;
                                        }
                                } else {
                                        print $old_caption;