We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26975
    • 26 Posts
    I’ve got a snippet that works perfectly when it is given the same argument.

    [!AvailabilityTable? &productLine=`EviTags`!]
    [!AvailabilityTable? &productLine=`EviTags`!]


    Will give the same output twice. However, when you change the argument, for some reason nothing happens the second time around.

    [!AvailabilityTable? &productLine=`EviTags`!]
    [!AvailabilityTable? &productLine=`EviFluors`!]


    The first will work fine (Tags) and the second will just not show up at all (Fluors). Any ideas?
      • 26975
      • 26 Posts
      Ah, for some reason I assumed it would take in the new variable and unset that... like
      function foo($bar){
           unset($bar);
           doStuffWith($bar);
      }


      Thanks for the help, guys.