mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[QSL Image Upload] Fixed some errors in the upload
This commit is contained in:
@@ -66,11 +66,15 @@ class Qsl extends CI_Controller {
|
||||
if (isset($_FILES['qslcardfront']) && $_FILES['qslcardfront']['name'] != "" && $_FILES['qslcardfront']['error'] == 0)
|
||||
{
|
||||
$result['front'] = $this->uploadQslCardFront($qsoid);
|
||||
} else {
|
||||
$result['front']['status'] = '';
|
||||
}
|
||||
|
||||
if (isset($_FILES['qslcardback']) && $_FILES['qslcardback']['name'] != "" && $_FILES['qslcardback']['error'] == 0)
|
||||
{
|
||||
$result['back'] = $this->uploadQslCardBack($qsoid);
|
||||
} else {
|
||||
$result['back']['status'] = '';
|
||||
}
|
||||
|
||||
header("Content-type: application/json");
|
||||
|
||||
Reference in New Issue
Block a user