Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
abdf5552
Commit
abdf5552
authored
Nov 13, 2006
by
Richard Mansfield
Browse files
Missing + in param_alpha
parent
0f796e46
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/web.php
View file @
abdf5552
...
@@ -594,7 +594,7 @@ function param_alpha($name) {
...
@@ -594,7 +594,7 @@ function param_alpha($name) {
$value
=
param_variable
(
$name
);
$value
=
param_variable
(
$name
);
}
}
if
(
preg_match
(
'/^[a-zA-Z]$/'
,
$value
))
{
if
(
preg_match
(
'/^[a-zA-Z]
+
$/'
,
$value
))
{
return
$value
;
return
$value
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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