Skip to content

Commit

Permalink
Fixed issue #16486: Unable to manage participant attribute with debug
Browse files Browse the repository at this point in the history
Dev: $examplerow use ->find null if no data ? use empty
Dev: gt do nothing remove it
Dev: add (again) exemple data for non core attributes
# Conflicts:
#	application/views/admin/token/managetokenattributes.php
  • Loading branch information
Shnoulle committed Jul 10, 2020
1 parent af847be commit 15b441a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions application/views/admin/token/managetokenattributes.php
Expand Up @@ -152,13 +152,9 @@
?></td>
<td>
<?php
if ($examplerow !== false)
if (empty($tokenvalues['coreattribute']) && !empty($examplerow))
{
//echo htmlspecialchars($examplerow[$sTokenField]);
}
else
{
gT('<no data>');
echo CHTml::encode($examplerow[$sTokenField]);
}
echo "</td>";
echo "</tr>";
Expand Down

0 comments on commit 15b441a

Please sign in to comment.