Fix phpcs
This commit is contained in:
parent
77ed591648
commit
8d4db1d085
@ -83,10 +83,9 @@ if (isset($_FILES['userfile']) && $_FILES['userfile']['size'] > 0 && $_POST["sen
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!empty($file['tmp_name'])){
|
if(!empty($file['tmp_name'])) {
|
||||||
$object->add_photo($upload_dir, $file);
|
$object->add_photo($upload_dir, $file);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user