Index: trunk/phase3/includes/filerepo/LocalFile.php |
— | — | @@ -1474,7 +1474,7 @@ |
1475 | 1475 | 'oi_user' => $row->fa_user, |
1476 | 1476 | 'oi_user_text' => $row->fa_user_text, |
1477 | 1477 | 'oi_timestamp' => $row->fa_timestamp, |
1478 | | - 'oi_metadata' => $row->fa_metadata, |
| 1478 | + 'oi_metadata' => is_null($row->fa_metadata) ? '' : $row->fa_metadata, |
1479 | 1479 | 'oi_media_type' => $row->fa_media_type, |
1480 | 1480 | 'oi_major_mime' => $row->fa_major_mime, |
1481 | 1481 | 'oi_minor_mime' => $row->fa_minor_mime, |