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
1236ee9c
Commit
1236ee9c
authored
Jul 26, 2010
by
Dries Buytaert
Browse files
- Patch
#863736
by David_Rothstein: unnecessary isset() check in path_save().
parent
239c6691
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/path.inc
View file @
1236ee9c
...
...
@@ -395,7 +395,7 @@ function path_save(&$path) {
$status
=
drupal_write_record
(
'url_alias'
,
$path
,
(
!
empty
(
$path
[
'pid'
])
?
'pid'
:
NULL
));
// Verify that a record was written.
if
(
isset
(
$status
)
&&
$status
)
{
if
(
$status
)
{
if
(
$status
===
SAVED_NEW
)
{
module_invoke_all
(
'path_insert'
,
$path
);
}
...
...
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