correct errors
This commit is contained in:
parent
5c6f6c97b7
commit
aee0bda9d4
1 changed files with 3 additions and 3 deletions
|
@ -353,7 +353,7 @@ class image implements Core{
|
||||||
* @param string $file_name
|
* @param string $file_name
|
||||||
* path of the image
|
* path of the image
|
||||||
**/
|
**/
|
||||||
private function uploadImage($id, $file_name){
|
private function uploadImage(){
|
||||||
$id = $this->app->getPostParam("id");
|
$id = $this->app->getPostParam("id");
|
||||||
$file_name = $this->app->getPostParam("file_name");
|
$file_name = $this->app->getPostParam("file_name");
|
||||||
|
|
||||||
|
@ -389,7 +389,7 @@ class image implements Core{
|
||||||
* @param string $id
|
* @param string $id
|
||||||
* identifier of the image
|
* identifier of the image
|
||||||
**/
|
**/
|
||||||
private function downloadImage($id){
|
private function downloadImage(){
|
||||||
$id = $this->app->getPostParam("id");
|
$id = $this->app->getPostParam("id");
|
||||||
if(!isset($id)){
|
if(!isset($id)){
|
||||||
$this->app->setOutput("Error", "Incorrect parameter");
|
$this->app->setOutput("Error", "Incorrect parameter");
|
||||||
|
@ -590,7 +590,7 @@ class image implements Core{
|
||||||
* @param string $status
|
* @param string $status
|
||||||
* new status for the member
|
* new status for the member
|
||||||
**/
|
**/
|
||||||
private function updateMemberImage($image_id, $member_id, $status){
|
private function updateMemberImage(){
|
||||||
$image_id = $this->app->getPostParam("image_id");
|
$image_id = $this->app->getPostParam("image_id");
|
||||||
$member_id = $this->app->getPostParam("member_id");
|
$member_id = $this->app->getPostParam("member_id");
|
||||||
$status = $this->app->getPostParam("status");
|
$status = $this->app->getPostParam("status");
|
||||||
|
|
Loading…
Add table
Reference in a new issue