From 1236ee9c75a650b2c022bfe498246c034619025c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 26 Jul 2010 02:59:57 +0000 Subject: - Patch #863736 by David_Rothstein: unnecessary isset() check in path_save(). --- includes/path.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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); } -- cgit v1.2.3