Added post check to project_edit.php