Commit 1236ee9c authored by Dries's avatar Dries

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

parent 239c6691
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment