summaryrefslogtreecommitdiff
path: root/includes/path.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/path.inc')
-rw-r--r--includes/path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/path.inc b/includes/path.inc
index ac78b0a74..3b5549656 100644
--- a/includes/path.inc
+++ b/includes/path.inc
@@ -397,7 +397,7 @@ function path_save(&$path) {
$path += array('pid' => NULL, 'language' => LANGUAGE_NONE);
// Insert or update the alias.
- $status = drupal_write_record('url_alias', $path, (!empty($path['pid']) ? 'pid' : NULL));
+ $status = drupal_write_record('url_alias', $path, (!empty($path['pid']) ? 'pid' : array()));
// Verify that a record was written.
if ($status) {