empty($_POST['estimate']) ? 0 : $_POST['estimate']
);
*/
+ if ($this->issue->id) {
+ $this->issue->update($old);
+ } else {
+ $this->issue->insert();
+ }
+ // issue ticket... - add watches etc...
+
+ /*
+ //$this->issue->save($CS);
+
if (!count($this->error)) {
try {
$this->issue->save($CS);
$this->error[] = $e->getMessage();
}
}
-
+ */
+ /*
if (!count($this->error)) {
if (!empty($_FILES['attachments'])) {
require_once 'MTrack/Attachment.php';
header("Location: {$this->baseURL}/Ticket/{$this->issue->nsident}");
exit;
}
+ */
+ $this->jok($this->issue->id);
}