From 9d2c313829ef8aa1911b0d1c88355e73df1a6e78 Mon Sep 17 00:00:00 2001 From: Michael Dale Date: Wed, 15 Jul 2009 23:11:24 +0000 Subject: [PATCH] fixed error msg --- includes/api/ApiUpload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index 3e86583e1a..c604a6aab6 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -89,7 +89,7 @@ class ApiUpload extends ApiBase { } else if( $this->mParams['httpstatus'] && $this->mParams['sessionkey'] ){ // return the status of the given upload session_key: if( !isset( $_SESSION['wsDownload'][ $this->mParams['sessionkey'] ] ) ){ - return $this->dieUsageMsg( array( 'error' => 'invalid-session-key' ) ); + return $this->dieUsageMsg( array( 'invalid-session-key' ) ); } $sd = & $_SESSION['wsDownload'][$this->mParams['sessionkey']]; // keep passing down the upload sessionkey -- 2.20.1