followup r66168: fix typo in variable name
authorMatthew Britton <gurch@users.mediawiki.org>
Wed, 12 May 2010 08:22:18 +0000 (08:22 +0000)
committerMatthew Britton <gurch@users.mediawiki.org>
Wed, 12 May 2010 08:22:18 +0000 (08:22 +0000)
includes/api/ApiQueryFilearchive.php

index 0f44d27..3391dbd 100644 (file)
@@ -83,7 +83,7 @@ class ApiQueryFilearchive extends ApiQueryBase {
                }
 
                $this->addFieldsIf( 'fa_metadata', $fld_metadata );
-               $this->addFieldsIf( 'fa_bitdepth', $fld_bitdepths );
+               $this->addFieldsIf( 'fa_bitdepth', $fld_bitdepth );
 
                // Image filters
                $dir = ( $params['dir'] == 'descending' ? 'older' : 'newer' );