Browse files

Remove "defined hash" as it is deprecated.

  • Loading branch information...
1 parent acd083e commit d15f2c43a00dec9fe317849b54cd1d1e68e7030d @norm committed Jan 14, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/Media/Type/Movie.pm
  2. +1 −1 lib/Media/Type/MusicVideo.pm
View
2 lib/Media/Type/Movie.pm
@@ -324,7 +324,7 @@ XML
if ( $title =~ $movie_title ) {
%details = %+;
- if ( defined %$hints ) {
+ if ( %$hints ) {
%details = (
%details,
%$hints,
View
2 lib/Media/Type/MusicVideo.pm
@@ -108,7 +108,7 @@ role Media::Type::MusicVideo {
if ( $title =~ $video_title ) {
%details = %+;
- if ( defined %$hints ) {
+ if ( %$hints ) {
%details = (
%details,
%$hints,

0 comments on commit d15f2c4

Please sign in to comment.