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/
We're funding a new Acquisitions Incorporated series on Kickstarter right now! Check it out at https://www.kickstarter.com/projects/pennyarcade/acquisitions-incorporated-the-series-2

Lost Access to thread

2»

Posts

  • 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
  • OptyOpty Registered User regular
    Guessing the errant semicolon was on line 4 then?

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

    EsseeHoun
Sign In or Register to comment.