title: Typo3 TypoScript and AND Conditions with globalVar
body: <p>I have the following typoscript,  I only want it execute when Language is 1 and page ID is 1432</p>
  
  <pre><code> [globalVar = GP:L =1][globalVar = TSFE:id = 1432]
  
   lib.atoz = TEXT
   lib.atoz.value (some test )
  
  [global]
  </code></pre>
  
  <p>However it seems to execute when the first condition is matched not both, it appears to be something to do with globalVar ? </p>
  
  <p><strong>Solved</strong></p>
  
  <pre><code> [globalVar = GP:L =1] AND [globalVar = TSFE:id = 1432]
  
   lib.atoz = TEXT
   lib.atoz.value (some test )
  
  [global]
  </code></pre>