Finalize vcard editing:
[citadel.git] / webcit / tabs.c
index a81c41432c5c7c9d26a8d9c963a64dd0d61ed0cf..90dac77b0be8c8e7e5e614e2f57163510adc649d 100644 (file)
@@ -201,7 +201,7 @@ void StrEndTab(StrBuf *Target, int tabnum, int num_tabs) {
                        "<!-- end tab %d of %d -->\n", tabnum, num_tabs
                );
        }
-       if (HAVEBSTR("last_tabsel"))
+       if (havebstr("last_tabsel"))
        {
                StrBufAppendPrintf(Target, "<script type=\"text/javascript\">tabsel(%s);</script>", BSTR("last_tabsel"));
        }