Yaron Koren has uploaded a new change for review. https://gerrit.wikimedia.org/r/221322
Change subject: Fixed compound queries with 'calendar' - fix for 23e88c7 ...................................................................... Fixed compound queries with 'calendar' - fix for 23e88c7 Change-Id: I964cb9b361812c140439be9e14c841f8004e05c1 --- M specials/CargoExport.php 1 file changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cargo refs/changes/22/221322/1 diff --git a/specials/CargoExport.php b/specials/CargoExport.php index c12b7e9..e215ba4 100644 --- a/specials/CargoExport.php +++ b/specials/CargoExport.php @@ -24,11 +24,11 @@ // If no value has been set for 'tables', or 'table', just // display a blank screen. - if ( $req->getCheck( 'tables' ) ) { - $tableArray = $req->getArray( 'tables' ); - } elseif ( $req->getCheck( 'table' ) ) { + $tableArray = $req->getArray( 'tables' ); + if ( $tableArray == null ) { $tableArray = $req->getArray( 'table' ); - } else { + } + if ( $tableArray == null ) { return; } $fieldsArray = $req->getArray( 'fields' ); -- To view, visit https://gerrit.wikimedia.org/r/221322 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I964cb9b361812c140439be9e14c841f8004e05c1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Cargo Gerrit-Branch: master Gerrit-Owner: Yaron Koren <yaro...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits