Fixing hinky indentation in ApiQueryImageInfo.php
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 15 Jan 2008 20:45:58 +0000 (20:45 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 15 Jan 2008 20:45:58 +0000 (20:45 +0000)
includes/api/ApiQueryImageInfo.php

index 9d10263..7e7abeb 100644 (file)
@@ -110,11 +110,12 @@ class ApiQueryImageInfo extends ApiQueryBase {
                                        $img->resetHistory();
                                }
 
-                $this->getResult()->addValue(array ('query', 'pages', intval($pageId)),
-                    'imagerepository',
-                    $repository);
-                if (!empty($data))
-                    $this->addPageSubItems($pageId, $data);
+                               $this->getResult()->addValue(array(
+                                               'query', 'pages', intval($pageId)),
+                                               'imagerepository', $repository
+                               );
+                               if (!empty($data))
+                                       $this->addPageSubItems($pageId, $data);
                        }
                }
        }