Skip to content

Commit 3ff6de5

Browse files
Automatically built.
commit dd7ac65 Merge: ad6d600 5b3be53 Author: philbogle <phil@code.org> Date: Thu Oct 1 16:41:32 2015 -0700 Merge pull request code-dot-org#4299 from code-dot-org/revert-4283-session_to_client_migrations Revert "Session to client migrations" commit 5b3be53 Author: philbogle <phil@code.org> Date: Thu Oct 1 16:39:53 2015 -0700 Revert "Session to client migrations" commit ad6d600 Author: Josh Lory <josh.lory@code.org> Date: Thu Oct 1 16:37:47 2015 -0700 Defend against null `current` project
1 parent dd7ac65 commit 3ff6de5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dashboard/public/shared-package/js/shared.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ var projects = module.exports = {
847847
save: function(sourceAndHtml, callback, forceNewVersion) {
848848

849849
// Can't save a project if we're not the owner.
850-
if (current.isOwner === false) {
850+
if (current && current.isOwner === false) {
851851
return;
852852
}
853853

0 commit comments

Comments
 (0)