Browse Source

Fix error message

Alan Lam 8 năm trước cách đây
mục cha
commit
b9510c8340
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  1. 1 1
      controllers/project_edit.php

+ 1 - 1
controllers/project_edit.php

@@ -88,7 +88,7 @@ if($submit) {
 		if($form_exception->hasErrors()) throw $form_exception;
 
 		$success = $project->commit();
-		if(!$success) throw new Exception("Project could not be added at this time. Please try again later.");
+		if(!$success) throw new Exception("Project could not be edited at this time. Please try again later.");
 
 		// Create test for new location IDs
 		foreach($location_ids_to_add as $location_id) {