diff --git a/module/ai/control.php b/module/ai/control.php index e6ab42ba7e..e1fa1144c9 100644 --- a/module/ai/control.php +++ b/module/ai/control.php @@ -489,7 +489,7 @@ class ai extends control if($prompt->status == 'draft') $_SESSION['auditPrompt']['time'] = time(); - return $this->send(array('result' => 'success', 'locate' => $location)); + return header("location: $location", true, 302); } /**