Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Mar 2012 at 18:36 UTC
Updated:
4 Jan 2014 at 01:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
liam morlandComment #3
liam morlandUpdated patch rolled against latest D8.
Comment #4
liam morlandReroll.
Comment #5
lars toomre commentedLooks good to me and passes the bot!
Comment #6
webchickWhile this is technically valid PHP to throw a ternary operation in the middle of a string, it's a little strange compared to what we do elsewhere. I actually find the former code a bit easier to read. :\
I would recommend just a patch to get rid of the bunk variable in the if ($base_url) check alone.
Comment #7
liam morlandOK, see attached.
Comment #8
cameron tod commentedLooks good to me. I was just about to post this exact patch.
Comment #9
dries commentedCommitted to 8.x. Thanks.
Comment #10
cameron tod commentedAdding tags.
Comment #11
cameron tod commentedHere's a quick backport.
Comment #12
liam morlandLooks good. Thanks.
Comment #13
xjmComment #14
David_Rothstein commentedCommitted to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/5b13080