Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
other
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2009 at 21:04 UTC
Updated:
7 Jun 2009 at 05:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardI will RTBC this if it passes the bot.
However, reading the patch suggests to me that
drupal_truncate_bytesneeds a small refactor for clarity. Thewhileline corrected by this patch is clear as mud.Here's the full function (as patched):
I cannot tell from reading the code what that second
whilestatement actually _does_.Comment #2
agentrickardAs promised.
Comment #3
stella commentedRe-rolled version, added in comment to clarify the while (...); line in unicode.inc. Also removed the endif; changes to the two tpl.php files - will open a separate issue for those.
Comment #4
stella commentedendif in template files was patched in #471206: coding style fixes - if statement in template files.
Resetting this to RTBC since testing bot passed it, and not much else has changed.
Comment #5
dries commentedCommitted to CVS HEAD. Thanks!