summaryrefslogtreecommitdiff
path: root/includes/Image.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Image.php')
-rw-r--r--includes/Image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Image.php b/includes/Image.php
index 1f3895c6..7a6442c3 100644
--- a/includes/Image.php
+++ b/includes/Image.php
@@ -2271,7 +2271,7 @@ class Image
# Check for files uploaded prior to DJVU support activation
# They have a '0' in their metadata field.
#
- if ( $this->metadata == '0' ) {
+ if ( $this->metadata == '0' || $this->metadata == '' ) {
$deja = new DjVuImage( $this->imagePath );
$this->metadata = $deja->retrieveMetaData();
$this->purgeMetadataCache();