kritbit

kritbit Commit Details


Date:2015-12-15 21:19:11 (9 years 6 days ago)
Author:Natalie Adams
Branch:master
Commit:ac9c91730a2061c3261962db296539ecde42e154
Parents: c16bc848da4d7de201f2fe38b1ca4c240eb9bad6
Message:Adding check to service

Changes:

File differences

web/application/controllers/service.php
2626
2727
2828
29
29
3030
3131
3232
3333
34
35
3436
3537
3638
if ($jobId && is_numeric($jobId)) {
/** @var \application\models\Jobs $job */
$job = \application\models\Jobs::getByField("id", $jobId)[0];
$job = \application\models\Jobs::getByField("id", $jobId);
if (!$job) {
echo "";
return;
}
$job = $job[0];
//decrypt message
$data = json_decode($_POST["data"], true);
$rawMessage = aes_decrypt($job->sharedkey, $data["message"]);

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05166s using 14 queries.