X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecialpage%2FImageQueryPage.php;h=8df64937e55427589b5b4f1e7adbda97dca6e9d7;hb=4077b57759756ecd0d25427ec9598feb28a28ac1;hp=49aaffd004ef147e4d2ef1c3f35b454c649fcdcd;hpb=9b670fb797813a8ed35750e2c83fe953a10f349e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specialpage/ImageQueryPage.php b/includes/specialpage/ImageQueryPage.php index 49aaffd004..8df64937e5 100644 --- a/includes/specialpage/ImageQueryPage.php +++ b/includes/specialpage/ImageQueryPage.php @@ -52,7 +52,7 @@ abstract class ImageQueryPage extends QueryPage { $i = 0; foreach ( $res as $row ) { $i++; - $namespace = isset( $row->namespace ) ? $row->namespace : NS_FILE; + $namespace = $row->namespace ?? NS_FILE; $title = Title::makeTitleSafe( $namespace, $row->title ); if ( $title instanceof Title && $title->getNamespace() == NS_FILE ) { $gallery->add( $title, $this->getCellHtml( $row ) );