summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2013-02-11 17:32:49 (GMT)
committerJennifer Hodgdon2013-02-11 17:32:49 (GMT)
commit9fdedf0463fb4ec1008cf928810834b41547b9b4 (patch)
treefda4c1fb27020e2303649bd653ffc251405170d3
parent5038ed805ba5631088edeaab19c7eb434ab3f88a (diff)
Issue #1908194 by richard.c.allen2386: Document what happens in drupal_get_path if the file is not found
-rw-r--r--core/includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/includes/common.inc b/core/includes/common.inc
index 97b73f4..5e9ff1c 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));