Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
b7e81dbc
Commit
b7e81dbc
authored
Feb 27, 2006
by
Gerhard Killesreiter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#48025
, fix for installing new contrib modules, patch by hunmonk and grugnog
parent
76a104d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/system.module
modules/system.module
+1
-1
modules/system/system.module
modules/system/system.module
+1
-1
No files found.
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