From 30b6bc4d807d8f5dee0db14057de6f4276a7e7fa Mon Sep 17 00:00:00 2001 From: devlinjd Date: Thu, 19 Nov 2015 01:47:23 -0500 Subject: [PATCH] Remove invalid object model reference. --- src/core/fresh-sheet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/fresh-sheet.js b/src/core/fresh-sheet.js index bc0ca39..ce72b45 100644 --- a/src/core/fresh-sheet.js +++ b/src/core/fresh-sheet.js @@ -246,7 +246,7 @@ FRESH character/resume sheet representation. */ FreshSheet.prototype.hasProfile = function( socialNetwork ) { socialNetwork = socialNetwork.trim().toLowerCase(); - return this.basics.profiles && _.some( this.basics.profiles, function(p) { + return this.social && _.some( this.social, function(p) { return p.network.trim().toLowerCase() === socialNetwork; }); };