Skip to content

Instantly share code, notes, and snippets.

@nekoya
Created September 19, 2009 01:46
Show Gist options
  • Save nekoya/189377 to your computer and use it in GitHub Desktop.
Save nekoya/189377 to your computer and use it in GitHub Desktop.
@@ -66,4 +66,4 @@
if ($self->needs_localize) {
- if (my $label = delete $params{label}) {
- $params{label} = $self->localize($label);
+ if (exists $params{label}) {
+ $params{label} = $self->localize($params{label});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment