diff options
-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); } |