Commit 6deb09d7 authored by Wim Van de Meerssche's avatar Wim Van de Meerssche
Browse files

added forgotten "use Experiment;"

parent 9cc50786
......@@ -47,6 +47,7 @@ use GeniSA;
use GeniSlice;
use GeniUser;
use User;
use Experiment;
use GeniResponse;
use GeniCredential;
use GeniRegistry;
......@@ -187,7 +188,7 @@ sub CheckSliceUrn($) {
$error_msg = 'not a valid slice URN';
} elsif ($s_type ne 'slice') {
$error_msg = 'not a slice URN';
} elsif (!Experiment->ValidEID($s_name)) {
} elsif (! Experiment->ValidEID($s_name)) {
$error_msg = 'not a valid slice urn';
}
}
......
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