From: Michael Dale Date: Wed, 15 Jul 2009 23:11:24 +0000 (+0000) Subject: fixed error msg X-Git-Tag: 1.31.0-rc.0~40902 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=9d2c313829ef8aa1911b0d1c88355e73df1a6e78;p=lhc%2Fweb%2Fwiklou.git fixed error msg --- 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