title: creating an associative array with another associative array with smarty
body: <p>so I have one associative array {$join_options} with five entries already in it. </p>
  
  <p>if I dump $join options it will show:</p>
  
  <pre><code>19 =&gt; Some text for 19
  20 =&gt; Some text for 20
  22 =&gt; Some text for 22
  24 =&gt; Some text for 24
  26 =&gt; Some text for 26
  </code></pre>
  
  <p>Good so far.</p>
  
  <p>And if I just use <code>{$join_options.20}</code> it will print</p>
  
  <p>Some text for 20</p>
  
  <p>But then I try this little ditty:</p>
  
  <pre><code>{assign var=modified_join_options values=[
  20 =&gt; '$join_options.20',
  24 =&gt; '$join_options.24',
  26 =&gt; '$join_options.26',
  ]}
  </code></pre>
  
  <p>and I get this error:</p>
  
  <pre><code>syntax error: invalid attribute name: ''$join_options.20',' (Smarty_Compiler.class.php, line 1550)
  </code></pre>
  
  <p>I've tried multiple different ways to type $join_options.20 I've tried with '' without with {} and without Wat do? </p>
  
  <p>EDIT: I've tried adding backticks, using value instead of values, removing the last comma.  Now I get:</p>
  
  <p>Smarty error: [in site:join line 116]: syntax error: invalid attribute name: '=' (Smarty_Compiler.class.php, line 1550)</p>