Skip to content
Snippets Groups Projects
Commit 5a4752dd authored by deuce's avatar deuce
Browse files

Use index, not name into the grp_list array...

the name could contain a ' which would cause errors in template.ssjs.

To be honest, this shouldn't be here anyways... it should be an array
generated in JS before the template...
parent 61abdd0c
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
<<REPEAT groups>>
<tr>
<td class="grouplist"><a class="grouplist" href="subs.ssjs?msg_grp=^^groups:name^^">%%groups:description%%</a></td>
<td class="grouplist" align="right">@@JS:msg_area.grp['@@groups:name@@'].sub_list.length@@</td>
<td class="grouplist" align="right">@@JS:msg_area.grp_list['@@groups:index@@'].sub_list.length@@</td>
</tr>
<<END REPEAT groups>>
</table>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment