Commit 7a0635d2 authored by Calcul Bot's avatar Calcul Bot
Browse files

Fixing bugs

parent 2bac37e7
......@@ -6,9 +6,9 @@ import os
gitlab_url = "https://gitlab.math.unistra.fr"
gitlab_token = "KF9uNHkJfFT54s8bcJAq"
gitlab_target_id = 309
gitlab_target_branch = 'WIP-job-form'
gitlab_source_id = 310
class JobOffer(object):
""" Job offer class. """
......
......@@ -22,7 +22,7 @@
system('python3 job_offers/add_job_offer.py'
. ' ' . escapeshellarg(htmlspecialchars($title))
. ' ' . escapeshellarg(htmlspecialchars($description))
. ( empty($_FILES['file']['tmp_name']) ? ( '--attachment ' . $_FILES['file']['tmp_name'] ) : '' )
. ( empty($_FILES['file']['tmp_name']) ? ( ' --attachment ' . $_FILES['file']['tmp_name'] ) : '' )
);
$form_success = true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment