Skip to content

Commit

Permalink
dev: fixed some small issues in browse screen with tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
mennodekker committed May 8, 2012
1 parent d3c13db commit 81be203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/views/admin/browse/browseallrow_view.php
Expand Up @@ -17,12 +17,12 @@
</td>
<?php
$i = 0;
if ($surveyinfo['anonymized'] == "N" && $dtrow['token'] && tableExists($tokentable))
if ($surveyinfo['anonymized'] == "N" && $dtrow['token'])
{
if (isset($dtrow['tid']) && !empty($dtrow['tid']))
{
//If we have a token, create a link to edit it
$browsedatafield = "<a href='" . $this->createUrl("admin/tokens/edit/surveyid/$surveyid/{$dtrow['tid']}/") . "' title='" . $clang->gT("Edit this token") . "'>";
$browsedatafield = "<a href='" . $this->createUrl("admin/tokens/edit/surveyid/$surveyid/tokenid/{$dtrow['tid']}/") . "' title='" . $clang->gT("Edit this token") . "'>";
$browsedatafield .= "{$dtrow['token']}";
$browsedatafield .= "</a>";
}
Expand Down

0 comments on commit 81be203

Please sign in to comment.