Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b7e81dbc
Commit
b7e81dbc
authored
Feb 27, 2006
by
Gerhard Killesreiter
Browse files
#48025
, fix for installing new contrib modules, patch by hunmonk and grugnog
parent
76a104d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/system.module
View file @
b7e81dbc
...
...
@@ -920,7 +920,7 @@ function system_modules() {
}
// Update the contents of the system table:
if
(
isset
(
$file
->
status
)
||
$file
->
old_filename
!=
$file
->
filename
)
{
if
(
isset
(
$file
->
status
)
||
(
isset
(
$file
->
old_filename
)
&&
$file
->
old_filename
!=
$file
->
filename
)
)
{
db_query
(
"UPDATE
{
system
}
SET description = '%s', name = '%s', bootstrap = %d, filename = '%s' WHERE filename = '%s'"
,
$file
->
description
,
$file
->
name
,
$bootstrap
,
$file
->
filename
,
$file
->
old_filename
);
}
else
{
...
...
modules/system/system.module
View file @
b7e81dbc
...
...
@@ -920,7 +920,7 @@ function system_modules() {
}
// Update the contents of the system table:
if
(
isset
(
$file
->
status
)
||
$file
->
old_filename
!=
$file
->
filename
)
{
if
(
isset
(
$file
->
status
)
||
(
isset
(
$file
->
old_filename
)
&&
$file
->
old_filename
!=
$file
->
filename
)
)
{
db_query
(
"UPDATE
{
system
}
SET description = '%s', name = '%s', bootstrap = %d, filename = '%s' WHERE filename = '%s'"
,
$file
->
description
,
$file
->
name
,
$bootstrap
,
$file
->
filename
,
$file
->
old_filename
);
}
else
{
...
...
Write
Preview
Markdown
is supported
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