Closed (outdated)
Project:
Drupal core
Version:
6.x-dev
Component:
path.module
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Jan 2013 at 22:54 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent
Comments
Comment #1
areke commentedThe path is a string, so there's a possibility an empty string could be passed into the function, which would mean the alias could have been set already. Since !empty will check if the string is set AND has an actual value, it's better to use that. The patch applies cleanly, so it looks good. Thank you!