From fadd8de830b209f184540e1a21d03e7ddacef226 Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 15 May 2017 20:08:27 -0300 Subject: [PATCH] Fix add saving --- objects/video_adsAddNew.json.php | 1 + 1 file changed, 1 insertion(+) diff --git a/objects/video_adsAddNew.json.php b/objects/video_adsAddNew.json.php index d2308a8697c1..4cf2c42dc495 100644 --- a/objects/video_adsAddNew.json.php +++ b/objects/video_adsAddNew.json.php @@ -18,5 +18,6 @@ $va->setSkip_after_seconds($_POST["skipSeconds"]); $va->setFinish_max_clicks($_POST["clicks"]); $va->setFinish_max_prints($_POST["prints"]); +$va->setCategories_id($_POST["categories_id"]); $resp = $va->save(); echo '{"status":"'.!empty($resp).'"}'; \ No newline at end of file