From 9fdedf0463fb4ec1008cf928810834b41547b9b4 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon <yahgrp@poplarware.com> Date: Mon, 11 Feb 2013 09:32:49 -0800 Subject: [PATCH] Issue #1908194 by richard.c.allen2386: Document what happens in drupal_get_path if the file is not found --- core/includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/includes/common.inc b/core/includes/common.inc index 97b73f4fe0b3..5e9ff1c17b0f 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -2357,7 +2357,7 @@ function drupal_set_time_limit($time_limit) { * The name of the item for which the path is requested. * * @return - * The path to the requested item. + * The path to the requested item or an empty string if the item is not found. */ function drupal_get_path($type, $name) { return dirname(drupal_get_filename($type, $name)); -- GitLab