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
d4db688c
Commit
d4db688c
authored
May 15, 2007
by
Penny Leach
Browse files
mysql support: quote keywords in raw sql
parent
a3fad41c
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/register.php
View file @
d4db688c
...
...
@@ -154,7 +154,7 @@ if (isset($key)) {
// Begin the registration form buliding
if
(
!
$registration
=
get_record_select
(
'usr_registration'
,
'key = ? AND expiry >= ?'
,
array
(
$key
,
db_format_timestamp
(
time
()))))
{
if
(
!
$registration
=
get_record_select
(
'usr_registration'
,
'
"
key
"
= ? AND expiry >= ?'
,
array
(
$key
,
db_format_timestamp
(
time
()))))
{
die_info
(
get_string
(
'registrationnosuchkey'
,
'auth.internal'
));
}
...
...
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