Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
540dfdd6
Commit
540dfdd6
authored
Feb 12, 2015
by
Leigh B Stoller
Browse files
Use correct checkslot entry for rspec.
parent
27cc006a
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/aptui/manage_profile.php
View file @
540dfdd6
...
...
@@ -343,7 +343,7 @@ foreach ($required as $key) {
if
(
isset
(
$formfields
[
"profile_rspec"
])
&&
$formfields
[
"profile_rspec"
]
!=
""
)
{
if
(
!
TBvalid_
html_fulltext
(
$formfields
[
"profile_rspec"
]))
{
if
(
!
TBvalid_
rspec
(
$formfields
[
"profile_rspec"
]))
{
$errors
[
"profile_rspec"
]
=
TBFieldErrorString
();
}
else
{
...
...
www/aptui/profile_defs.php
View file @
540dfdd6
...
...
@@ -22,6 +22,12 @@
# }}}
#
#
function
TBvalid_rspec
(
$token
)
{
return
TBcheck_dbslot
(
$token
,
"apt_profiles"
,
"rspec"
,
TBDB_CHECKDBSLOT_WARN
|
TBDB_CHECKDBSLOT_ERROR
);
}
class
Profile
{
var
$profile
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment