As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/
Options

Lost Access to thread

2»

Posts

  • Options
    IcyLiquidIcyLiquid Two Steaks Montreal, QuebecAdministrator, Vanilla Staff vanilla
    edited December 2013
    // Figure out what state the lounge is in
    $this->loungeMode = 'closed';
    if (C('Plugins.Winter.LoungeEnabled', true)) {
       if ($monthYear >= 1223 && $monthYear <= 1226)
          $this->loungeMode = 'open';
    
       if ($monthYear == 1227)
          $this->loungeMode = 'read';
    }
    

    IcyLiquid on
  • Options
    OptyOpty Registered User regular
    Guessing the errant semicolon was on line 4 then?

  • Options
    IcyLiquidIcyLiquid Two Steaks Montreal, QuebecAdministrator, Vanilla Staff vanilla
    Yessir. That'll teach me to use bracketless if statements.

Sign In or Register to comment.