do not use t() on empty string

Pasqualle - November 10, 2008 - 15:35
Project:CSS Injector
Version:6.x-1.3
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:reviewed & tested by the community
Description

please do not use t() on empty string.

css_injector.admin.inc line 170

    '#description' => t(''),

#1

Pasqualle - November 10, 2008 - 15:36

and line 178

#2

Pasqualle - May 25, 2009 - 19:40
Title:t('')» do not use t() on empty string
Status:active» needs review

Version: cvs DRUPAL-6--1 branch

AttachmentSize
332480-2-do_not_use_t_on_empty_string.patch 938 bytes

#3

Zoltán Balogh - May 25, 2009 - 19:43
Status:needs review» reviewed & tested by the community

Patch (#2) is OK.

 
 

Drupal is a registered trademark of Dries Buytaert.