Format bug report mail

This commit is contained in:
nikolark committed 2013-03-20 21:01:23 +01:00
1 parent d9b730628b
commit cd34ff227f
2 files changed
+7 -5

No files matched your search

+3 -1
View File
@@ -1279,7 +1279,9 @@ public function _logIn() {
public function _registerBugReport() {
$bug = new BugReport(NULL, $_REQUEST);
$bug->store();
mail("kak-edb@studentersamfundet.no", '[Inside] New bug report', var_export($_REQUEST, true));
$user_url = "https://inside.studentersamfundet.no/index.php?page=display-user&userid=".$_REQUEST['user_id'];
$message = "Bruker:".$user_url."\n Type feil: ".$_REQUEST['title']."\nMelding fra bruker: " .$_REQUEST['comment'];
mail("medlemskap@studentersamfundet.no, kak-edb@studentersamfundet.no", '[Inside] Ny melding om noe muffins fra bruker', $message);
}
public function _updateBugReportStatus() {