Skip to content

Commit

Permalink
Update Id.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusbagpuss committed Nov 18, 2015
1 parent 465a4f5 commit fddb95e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions perl_lib/EPrints/MetaField/Id.pm
Expand Up @@ -45,6 +45,8 @@ sub value_from_sql_row
{
my( $self, $session, $row ) = @_;

return undef unless defined $row->[0];

if( $session->{database}->{dbh}->{Driver}->{Name} eq "mysql" )
{
utf8::decode( $row->[0] );
Expand Down

0 comments on commit fddb95e

Please sign in to comment.