Commit 0fcb2e5a authored by Leigh Stoller's avatar Leigh Stoller

Admins can convert to profiles too!

parent fb7cc2a6
......@@ -536,7 +536,7 @@ if (! $instance) {
if (!$geniflags) {
WRITESUBMENUBUTTON("Duplicate Experiment",
"beginexp.php?copyid=$expindex");
if (STUDLY()) {
if (ISADMIN() || STUDLY()) {
$uuid = $experiment->uuid();
WRITESUBMENUBUTTON("Create Profile from Experiment",
"portal/manage_profile.php?fromexp=$uuid");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment