소스 검색

Fixes alerts.

Alan Lam 8 년 전
부모
커밋
85c2734741
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      controllers/test_confirm.php

+ 2 - 2
controllers/test_confirm.php

@@ -13,7 +13,7 @@ switch($action) {
 
 
 		// TODO: Email/notification?
 		// TODO: Email/notification?
 
 
-		Core::addAlert("Test accepted successfully.");
+		Core::addAlert("success", "Test accepted successfully.");
 		HTTP::redirect("/account/tests");
 		HTTP::redirect("/account/tests");
 
 
 		break;
 		break;
@@ -27,7 +27,7 @@ switch($action) {
 
 
 		// TODO: Email/notification?
 		// TODO: Email/notification?
 
 
-		Core::addAlert("Test declined successfully.");
+		Core::addAlert("success", "Test declined successfully.");
 		HTTP::redirect("/account/tests");
 		HTTP::redirect("/account/tests");
 
 
 		break;
 		break;