diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-07-26 02:59:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-07-26 02:59:57 +0000 |
commit | 1236ee9c75a650b2c022bfe498246c034619025c (patch) | |
tree | 935b450272720d7d52ff1d941f39c49d37cf66ed /includes | |
parent | 239c66915fc968f0a188d4948452f2092f7ab4b1 (diff) | |
download | brdo-1236ee9c75a650b2c022bfe498246c034619025c.tar.gz brdo-1236ee9c75a650b2c022bfe498246c034619025c.tar.bz2 |
- Patch #863736 by David_Rothstein: unnecessary isset() check in path_save().
Diffstat (limited to 'includes')
-rw-r--r-- | includes/path.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/path.inc b/includes/path.inc index aa685d607..cb949e3da 100644 --- a/includes/path.inc +++ b/includes/path.inc @@ -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); } |