- Patch #863736 by David_Rothstein: unnecessary isset() check in path_save().

merge-requests/26/head
Dries Buytaert 2010-07-26 02:59:57 +00:00
parent 239c66915f
commit 1236ee9c75
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ function path_save(&$path) {
$status = drupal_write_record('url_alias', $path, (!empty($path['pid']) ? 'pid' : NULL)); $status = drupal_write_record('url_alias', $path, (!empty($path['pid']) ? 'pid' : NULL));
// Verify that a record was written. // Verify that a record was written.
if (isset($status) && $status) { if ($status) {
if ($status === SAVED_NEW) { if ($status === SAVED_NEW) {
module_invoke_all('path_insert', $path); module_invoke_all('path_insert', $path);
} }