diff --git a/mason/image/print_images.mas b/mason/image/print_images.mas
index 6915bf940c..56d75172b7 100644
--- a/mason/image/print_images.mas
+++ b/mason/image/print_images.mas
@@ -72,12 +72,12 @@ if ($images && !$image_objects) {
###print qq{ };
if ($image_objects) { # don't display anything for empty list of images
- if ($stock_image_flag == '1') { # Only include 'Set as Display Image' column for images of this stock, not for images of related stock table
+ if ($curator && $stock_image_flag == '1') { # Only include 'Set as Display Image' column for images of this stock, not for images of related stock table
$image_html .= qq|
Image
Description
Type
Set as Display Image
|;
} else {
$image_html .= qq|
Image
Description
Type
|;
}
- print "
check_curator_role: $stock_image_flag
";
+
my $i = 0;
foreach my $image_ob (@$image_objects) {
$count++;
@@ -104,9 +104,9 @@ if ($image_objects) { # don't display anything for empty list of images
. $image_description
. "