Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
8b04230c
Commit
8b04230c
authored
Jan 05, 2002
by
Dries Buytaert
Browse files
- Fixed a typo
parent
075233c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
8b04230c
...
...
@@ -381,7 +381,7 @@ function cache_get($key) {
function
cache_set
(
$cid
,
$data
,
$expire
=
0
)
{
if
(
db_fetch_object
(
db_query
(
"SELECT cid FROM cache WHERE cid = '"
.
check_query
(
$cid
)
.
"'"
)))
{
db_query
(
"UPDATE cache SET data = '"
.
check_query
(
$data
)
.
"' WHERE ci
c
= '"
.
check_query
(
$cid
)
.
"'"
);
db_query
(
"UPDATE cache SET data = '"
.
check_query
(
$data
)
.
"' WHERE ci
d
= '"
.
check_query
(
$cid
)
.
"'"
);
}
else
{
db_query
(
"INSERT INTO cache (cid, data, expire) VALUES('"
.
check_query
(
$cid
)
.
"', '"
.
check_query
(
$data
)
.
"', '"
.
check_query
(
$expire
)
.
"')"
);
...
...
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