* Once the iconbar-embedded wholist was enabled, it became impossible to turn it...
authorArt Cancro <ajc@citadel.org>
Tue, 6 Jan 2009 19:52:00 +0000 (19:52 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 6 Jan 2009 19:52:00 +0000 (19:52 +0000)
webcit/iconbar.c

index ee856489066b01c6bf3808378a399bcb9849d0ba..a55e72c71466c448f0f40886ae6be7cf75ad3c54 100644 (file)
@@ -366,7 +366,7 @@ void do_iconbar(void) {
 
        wprintf("</ul>\n");
 
-       if (IconbarIsEnabled("ib_users", 0)) {
+       if (IconbarIsEnabled("ib_users", 0) == 2) {
                StrBufAppendPrintf(WC->trailing_javascript,
                        "new Ajax.PeriodicalUpdater('wholist', 'do_template?template=wholist_section', "
                        "{ method: 'get', frequency: 30 } );    \n"