Skip to content

Commit

Permalink
Fixed issue #4678: Assigned Export permission not showing export icons
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@9252 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Oct 15, 2010
1 parent 1ce6c10 commit 0aa46f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/html_functions.php
Expand Up @@ -73,7 +73,7 @@ function browsemenubar($title='')

$browsemenubar .= "<img src='$imagefiles/seperator.gif' alt='' />\n";

if ($sumrows5['export'] == "1" || $_SESSION['USER_RIGHT_SUPERADMIN'] == 1)
if(bHasRight($surveyid,'export'))
{
// Export to application
$browsemenubar .= "<a href='$scriptname?action=exportresults&amp;sid=$surveyid' title=\"".$clang->gTview("Export Results to Application")."\" >"
Expand Down Expand Up @@ -105,7 +105,7 @@ function browsemenubar($title='')
. "<img src='$imagefiles/importvv.png' alt='".$clang->gT("Import a VV survey file")."' /></a>\n";

//Export VV
if ($sumrows5['export'] == "1" || $_SESSION['USER_RIGHT_SUPERADMIN'] == 1)
if(bHasRight($surveyid,'export'))
{
$browsemenubar .= "<a href='$scriptname?action=vvexport&amp;sid=$surveyid' title=\"".$clang->gTview("Export a VV survey file")."\" >"
."<img src='$imagefiles/exportvv.png' title='' alt='".$clang->gT("Export a VV survey file")."' /></a>\n";
Expand Down

0 comments on commit 0aa46f9

Please sign in to comment.