We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: 10gen sample application for student management
Homepage: https://sample-student.10gen.com/
Clone URL: git://github.com/10gen/sample-student.git
Fix NPE.
Ethan Glasser-Camp (author)
Tue Sep 02 09:03:12 -0700 2008
commit  f25975aa59178964f90a289cf17baadea6287a73
tree    2972ff470a5a295e11ae9691089ff65a3c4479d8
parent  419705287bcd225ab25f806d30df34055cbdd89c
...
34
35
36
37
 
38
39
40
...
34
35
36
 
37
38
39
40
0
@@ -34,7 +34,7 @@ else {
0
     if ( request.action == "Add" && request.course_for ){
0
         var c = Course.findOne( request.course_for );
0
         if ( ! c ){
0
- c.msg = "Can't find course";
0
+ data.msg = "Can't find course";
0
         }
0
         else {
0
             myStudent.scores.push( new Score( c , request.score ) );

Comments

    No one has commented yet.