summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/api/ApiTranslationStash.php')
-rw-r--r--MLEB/Translate/api/ApiTranslationStash.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/MLEB/Translate/api/ApiTranslationStash.php b/MLEB/Translate/api/ApiTranslationStash.php
index dad11719..91d176a9 100644
--- a/MLEB/Translate/api/ApiTranslationStash.php
+++ b/MLEB/Translate/api/ApiTranslationStash.php
@@ -51,6 +51,7 @@ class ApiTranslationStash extends ApiBase {
$stash->addTranslation( $translation );
}
+ $output = [];
if ( $action === 'query' ) {
$output['translations'] = [];